Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4945

Device filter operator defaults back to $eq for any Device ID filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.1
    • Labels:
    • Sprint:
      MEN Sprint 144
    • Story Points:
      2
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      To reproduce:

      • In the device filters, select 'Device ID', 'not in' operator and some value that you expect will result in at least one device

      The expected device list won't display, and browser developer tools show that the request payload is $eq (equals) instead of $in, $notin, $exists etc.

      It looks like the default "equals" operator set at line 17 here is being defaulted to whenever Device ID is used as the filter attribute, no matter what operator is selected. This seems to be specific when Device ID is used only.

        Attachments

          Activity

            People

            Assignee:
            mzedel Manuel Zedel
            Reporter:
            a10041 Michael Clelland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: