Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Results page number not reset when context changes #785

Open
murphyke opened this issue Sep 13, 2016 · 0 comments
Open

Results page number not reset when context changes #785

murphyke opened this issue Sep 13, 2016 · 0 comments

Comments

@murphyke
Copy link
Member

The results page number is not reset when the context changes. If the number of new results pages is smaller than the previous, this can result in the query "hanging" from the user's point of view -- the "Loading Results" overlay stays up forever, although the preview endpoint payload is fetched.

To reproduce:

  • Run the harvest-openmrs demo with avocado==2.4.1 and serrano==2.4.3.
  • Click Results to obtain all unfiltered rows.
  • Click Next> to go the second page of results.
  • Click Query and under Patient Details choose and apply a query filter of MRN000001.
  • Click Results

I wonder if a similar thing might happen if columns were removed from the DataView such that the number of output pages decreased ....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant