fdaciuk/conduit-api

Empty Taglist doens't return any articles

Open

#42 geöffnet am 11. Jan. 2023

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (24 Forks)github user discovery
buggood first issue

Repository-Metriken

Stars
 (181 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide