Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCLOMRS-1046:Paging, searching and filtering through the list of concepts no longer works #742

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

jwnasambu
Copy link
Contributor

@jwnasambu jwnasambu commented Sep 13, 2021

JIRA TICKET NAME:

Paging through the list of concepts no longer works

Summary:

  • This fixes pagination, filtering and searching through concepts.

@suruchee
Copy link
Contributor

@jwnasambu , thanks for the PR but it's not loading any concepts at my end.

@jwnasambu
Copy link
Contributor Author

jwnasambu commented Sep 13, 2021

@suruchee thanks for the feedback! Basing on the PR this is what I have that I believe was supposed to be done basing on the ticket discription.

screencast.2021-09-13.7.PM-42-29.mp4

Alternatively if you are not seeing concepts you can search then play around with the table pagination buttons

@@ -268,7 +268,23 @@ const ViewConceptsPage: React.FC<Props> = ({
// i don't know how the comparison algorithm works, but for these arrays, it fails.
// stringify the arrays to work around that
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [retrieveConcepts, retrieveDictionary, retrieveSource, containerUrl]);
}, [
retrieveConcepts,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coveralls
Copy link

coveralls commented Sep 14, 2021

Coverage Status

Coverage remained the same at 46.667% when pulling 43aba81 on jwnasambu:OCLOMRS-1046 into 22be09d on openmrs:master.

@jwnasambu
Copy link
Contributor Author

@suruchi you can try testing again.

Copy link
Collaborator

@hadijahkyampeire hadijahkyampeire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @jwnasambu , this works fine, it looks like you and @suruchee have submitted the same work, we should merge one of the PRs and close the other.

@hadijahkyampeire hadijahkyampeire changed the title OCLOMRS-1046:Paging through the list of concepts no longer works OCLOMRS-1046:Paging, searching and filtering through the list of concepts no longer works Sep 14, 2021
@hadijahkyampeire hadijahkyampeire merged commit 04efed8 into openmrs:master Sep 14, 2021
@jwnasambu
Copy link
Contributor Author

jwnasambu commented Sep 14, 2021

Thanks for the fix @jwnasambu , this works fine, it looks like you and @suruchee have submitted the same work, we should merge one of the PRs and close the other.

@hadijahkyampeire Oh sorry! its unfortunate but I was the one who claimed the ticket and I was working on it. It's not good to work on someone's ticket without there consent.

@hadijahkyampeire
Copy link
Collaborator

It's okay @jwnasambu it was a mistake with the reporting of the tickets, they made two different tickets but which were addressing the same issue, that's why you both had tickets that are different but solving the same issue, I have told @suruchee to rebase with your work and cover some other work in her PR since you have already addressed what she has in her PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants