V3.6.8, how to set up a query().search() and a filter for it?

Ok… Found out that the “await strapi.query(‘restaurant’).search({_q: “string”, _limit:-1})” and http://localhost:1337/restaurant/list?_q=string actually works, but for some reason the data isn’t sent back to client…