Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Patient listing paging back button doesn't always go to start #45

Closed
jkleinsc opened this issue Apr 2, 2015 · 2 comments
Closed

Patient listing paging back button doesn't always go to start #45

jkleinsc opened this issue Apr 2, 2015 · 2 comments
Labels
🐛bug issue/pull request that documents/fixes a bug help wanted indicates that an issue is open for contributions

Comments

@jkleinsc
Copy link
Member

jkleinsc commented Apr 2, 2015

There seems to be an issue where paging on patient listing doesn't let you go all of the way back to the first page. Not sure what steps to reproduce are.

@jkleinsc jkleinsc added 🐛bug issue/pull request that documents/fixes a bug Patient labels Apr 2, 2015
@tangollama tangollama modified the milestone: HospitalRun 1.0 Oct 14, 2015
@tangollama tangollama added the help wanted indicates that an issue is open for contributions label Mar 15, 2016
@tangollama
Copy link
Member

Need help reproducing and then fixing. Do one or both to make a contribution. Thanks!

@gnowoel
Copy link
Contributor

gnowoel commented Oct 13, 2016

Not sure if it's what @jkleinsc experienced, but the pagination buttons will indeed mess up the patient list when using descending order of a field.

To reproduce it, please visit the Patient Listing page on the Beta site, and then:

  • Click twice the Id header to sort the items in descending order
  • Click the Next button (the right arrow in the table header)
  • Click the Previous button (the left arrow) to go back

screen_shot_2016-10-14_at_12_28_09_am

Now the pagination buttons will disappear and only one listing item will be left.

screen shot 2016-10-14 at 12 30 51 am

I'm working on a simple solution to this. A PR would be coming soon for your review.

cc @tangollama

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛bug issue/pull request that documents/fixes a bug help wanted indicates that an issue is open for contributions
Projects
None yet
Development

No branches or pull requests

4 participants