today, the devices from inventory can only be filtered by case sensitive queries for name or other fragment. Idea is to implement option to filter case-insensitevly.
MongoDB provides enough expressions to be used to extend filtering options and still keep the performance at an acceptable level.
Hi Peter,
thanks for the feedback. That makes a lot of sense. Currently, we do not plan to implement improvements to the inventory query functionality. However, we will keep this idea in the backlog for as soon as this changes.
Hi Nikolaus,
we are building our own frontend and would like to filter the list of devices based on multiple criteria. So for example name includes ���test��� and device status is active (device status is stored in a custom fragment). To combine these filters, we need to use an API supported query. The search in Cockpit uses text=������ as argument. Unfortunately, ���text=��� combined with ���query��� don���t work.
Peter
Von: Software AG <053fde702dd714b5942b0877-trendminer@iad-prod1.mailer.aha.io>
Gesendet: Mittwoch, 26. Februar 2020 15:13
An: Aha!
Betreff: Nikolaus Neuerburg responded to idea C8YCORE-I-138 case-insensitive filtering in inventory
Hi Peter, could you elaborate on the use-case behind this requirement.
There are two different methods to look for inventory objects. The Mongo DB text search is case insensitive (https://docs.mongodb.com/manual/text-search/). This search is used when clicking the search button in the Cockpit or Device Management Application.