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

Empty Taglist doens't return any articles #42

Open
joaooliveiradev opened this issue Jan 11, 2023 · 1 comment
Open

Empty Taglist doens't return any articles #42

joaooliveiradev opened this issue Jan 11, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@joaooliveiradev
Copy link

Hello, i was using the API and i found an possible bug, when i doesn't pass an list of tags sometimes doesn't return any article on the api/articles route.

image

An possible to this is implement an condition like you already did in the the favoritedFilter function:
image

With this, i was able to solve the problem.

Empty Tag returning all the articles.

image

With Tag return just the DACIOK BRABO article.

image

@fdaciuk fdaciuk added bug Something isn't working good first issue Good for newcomers labels Jan 17, 2023
@fdaciuk
Copy link
Owner

fdaciuk commented Jan 17, 2023

Good catch @joaooliveiradev!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants