monarch-initiative / monarch-ui

The previous version of the Monarch Initiative website
https://previous.monarchinitiative.org/
BSD 3-Clause "New" or "Revised" License
17 stars 29 forks source link

Pagination broken after applying taxon filter #350

Closed jen-martin closed 1 week ago

jen-martin commented 4 years ago

The pagination is broken (see images below) after applying the taxon filter in some cases. This seems to happen in cases where you deselect species but the total number of associations to display after deselecting is still more than 15.

To replicate:

  1. Navigate to: https://monarchinitiative.org/gene/HGNC:10848#ortholog-phenotype
  2. Click on Taxon Filter
  3. De-select the first two items (Mus musculus and Danio rerio). The remaining item should be Drosophila melanogaster (which has 28 associations).
  4. Click Apply and Close.

Page 1 of results. All 28 associations are shown on the page. Note that the pagination buttons are displayed at the bottom of the page. pagination-error1

Page 2 of results. Note that this is the same as Page 1 of results. pagination-error2

kshefchek commented 3 years ago

@jen-martin if you'd like to circle back to this - would be great to have it fixed!

monicacecilia commented 3 years ago

@jen-martin 👀

monicacecilia commented 1 week ago

No longer a problem.