Skip to content

search returns incorrect number #1271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MathMan05 opened this issue Apr 10, 2025 · 0 comments
Open

search returns incorrect number #1271

MathMan05 opened this issue Apr 10, 2025 · 0 comments

Comments

@MathMan05
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant