Skip to content
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

Filtering posts by a single topic not working as expected #183

Open
PaulMirsch opened this issue Nov 25, 2024 · 0 comments
Open

Filtering posts by a single topic not working as expected #183

PaulMirsch opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PaulMirsch
Copy link

I am trying to filter posts by a specific topic, for example, "My Example".

According to the documentation, it's possible to use the topics parameter to filter posts by the desired topic: Post Endpoint Documentation

However, when I add the topics parameter to my URI, I receive all posts, regardless of the specified topic. It appears that the filter is not being applied correctly.

Here is the URI I am using:
https://myhumhub.instance/api/v1/post?topics=My%20Example&limit=2

As you can see, the limit parameter works correctly (I get 2 posts), but one of the posts matches the topic and the other does not.

Is there something I'm missing, or could this be a bug?

Thanks

@luke- luke- added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants