Closed thclark closed 3 years ago
Pagination is showing 6 pages when there aren't 6 pages of articles
react-pagination library has been used but clearly isn't wired correctly on the number of articles.
next and previous buttons don't get disabled when there's no next or previous.
next
previous
there's no filtering by topic type
there's no ability to add topics
Correct pagination.
Although we could go about fetching live, it might be best to stick to query for all articles then do frontend filtering only.
Bug report
Pagination is showing 6 pages when there aren't 6 pages of articles
What is the current behavior?
react-pagination library has been used but clearly isn't wired correctly on the number of articles.
next
andprevious
buttons don't get disabled when there's no next or previous.there's no filtering by topic type
there's no ability to add topics
What is the expected behavior?
Correct pagination.
Although we could go about fetching live, it might be best to stick to query for all articles then do frontend filtering only.