server icon indicating copy to clipboard operation
server copied to clipboard

search returns incorrect number

Open MathMan05 opened this issue 9 months ago • 0 comments

Describe the bug https://github.com/spacebarchat/server/blob/master/src/api/routes/guilds/%23guild_id/messages/search.ts returns the incorrect total_results, which returns the number of things it returns instead of the number of things that match the results. To Reproduce search in the search bar

Expected behavior it should return the total that matches the query.

Additional context jank client supports search, look at the raw request and you'll see it at exactly 50 instead of the true value of the number of results

MathMan05 avatar Apr 10 '25 00:04 MathMan05