Query presets with Wildcard problem

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

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

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.

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,

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

I get the same behavior with 1.0.0 and 1.2beta.

this worked for me

nbi is passing the querys direct to mongo db: