CDRH / orchid

Rails Engine for site integration with CDRH API
MIT License
3 stars 0 forks source link

fixes pagination bug where page 2 of search errors #193

Closed jduss4 closed 4 years ago

jduss4 commented 4 years ago

I'm guessing this was introduced here: https://github.com/CDRH/orchid/commit/4079e0067b6129789300c869c1702169280c1623 but I am impressed we didn't notice until now

as one might expect, if there are no prior pages then it should not be displaying the minimum (nonexistent) prior page