Query presets with Wildcard problem

Hi,
i tried to filter the preset items in the gui and via nbi with a wildcard.

query={“summary.serialNumber”:“40*”}
curl -i ‘http://localhost:7557/devices/?query={“summary.serialNumber”%3A"40*"}
This works!

Query={“_id”:“MME*”}
curl -i ‘http://localhost:7557presets/?query=%7B%22_id%22%3A%22MME*%22%7D’
This doesn’t work, but if i use the complete name of a preset, it works.

I tried the query with the mongo shell → everything ok.
#mongo

use genieacs-intec
db.presets.find( { id: /MME*/} )
But filtering in the GUI and access via nbi
give no result. I tried 1.0.0 and 1.2beta. In the 1.2beta you can filter with: _id like “MME%”.

Any idea?
Best regards,
Markus

Is that v1.0?! Gotta upgrade to 1.1 or 1.2.

Hi,
I get the same behavior with 1.0.0 and 1.2beta.

Hi,
this worked for me
{“VirtualParameters.List”:{"$regex":“value”}}

nbi is passing the querys direct to mongo db: