UoA-eResearch / research-hub-web

Research Hub Web
https://research-hub.cer.auckland.ac.nz
MIT License
3 stars 2 forks source link

Fix empty category count on pages other than the first page #29

Closed uoa-noel closed 5 years ago

uoa-noel commented 5 years ago

Steps to reproduce

  1. Go to research-hub.auckland.ac.nz.
  2. Type in a search term (e.g. "data") into the search box.
  3. In the resulting search results page, notice that the "Check out a different category" section of the refine search panel shows various categories, along with a count of how many pages belong to those categories.
  4. Scroll to the bottom of the page and click on next page.

Expected behaviour The "Check out a different category" section should still show different categories and a count of pages for each category.

Actual behaviour The "Check out a different category" section only shows "All".

This pull request will fix this problem.