Mirth Connect
  1. Mirth Connect
  2. MIRTH-4240

Filter in Mirth Connect Settings>Tags does not work

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.6.0, 3.5.2
    • Component/s: None
    • Labels:
      None
    • Known Issues:
      KI144663

      Description

      When using the filter in Settings>Tags. The list of channels does not filter.

      Also, client is asking if it's possible for the filter can search something like ' Enroll' note the space
      Currently when they search Enroll, Mirth Connect will not recognize the space. It will bring up results like disenroll.

        Activity

        Hide
        Nick Rupley added a comment -

        After creating the row sorter the correct code should be:

        RowFilter<TableModel, Integer> rowFilter = new RowFilter<TableModel, Integer>() {
            @Override
            public boolean include(RowFilter.Entry<? extends TableModel, ? extends Integer> entry) {
                String name = entry.getStringValue(CHANNELS_NAME_COLUMN);
                return StringUtils.containsIgnoreCase(name, channelFilterField.getText());
            }
        };
        rowSorter.setRowFilter(rowFilter);
        channelsTable.setRowFilter(rowFilter);
        Show
        Nick Rupley added a comment - After creating the row sorter the correct code should be: RowFilter<TableModel, Integer > rowFilter = new RowFilter<TableModel, Integer >() { @Override public boolean include(RowFilter.Entry<? extends TableModel, ? extends Integer > entry) { String name = entry.getStringValue(CHANNELS_NAME_COLUMN); return StringUtils.containsIgnoreCase(name, channelFilterField.getText()); } }; rowSorter.setRowFilter(rowFilter); channelsTable.setRowFilter(rowFilter);

          People

          • Assignee:
            Nick Rupley
            Reporter:
            Ha Tien Nguyen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development