conduit-api icon indicating copy to clipboard operation
conduit-api copied to clipboard

Empty Taglist doens't return any articles

Open joaooliveiradev opened this issue 3 years ago • 1 comments

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

joaooliveiradev avatar Jan 11 '23 20:01 joaooliveiradev

Good catch @joaooliveiradev!

fdaciuk avatar Jan 17 '23 13:01 fdaciuk