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

Fixes #1588 Auto search added when user add filter in searchFragment #1589

Merged
merged 1 commit into from
Jul 18, 2021

Conversation

danishjamal104
Copy link
Collaborator

@danishjamal104 danishjamal104 commented Dec 3, 2020

Fixes #1588

Changes

  • All changes are made in SearchFragment.java file.
  1. Added new boolean variable autoTriggerSearch to determine whether a click is called by user or user this is used for determining whether a toast is needed to be displayed or not in case of the empty search string.
  2. Called the onClickSearch inside onItemSelected

Screenshot
Screenshot 2020-11-19 at 5 10 13 PM

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the MifosStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

@danishjamal104
Copy link
Collaborator Author

@robustTechie please review the changes And suggested if any. Thanks :)

@danishjamal104 danishjamal104 changed the title Auto search added when user add filter in searchFragment Fixes #1588 Auto search added when user add filter in searchFragment Dec 3, 2020
Copy link
Member

@iamsh4shank iamsh4shank left a comment

Choose a reason for hiding this comment

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

Nice work @danishjamal104 👍

@danishjamal104
Copy link
Collaborator Author

Nice work @danishjamal104 👍

Thanks @robustTechie :)

Copy link
Member

@iamsh4shank iamsh4shank left a comment

Choose a reason for hiding this comment

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

Hey @danishjamal104 can you fix the merge request so that we could merge it soon :)

@danishjamal104
Copy link
Collaborator Author

Hey @danishjamal104 can you fix the merge request so that we could merge it soon :)

Sure

@iamsh4shank iamsh4shank merged commit 7c527c2 into openMF:release-1.1 Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto trigger reload when filter is changed in SearchFragment
2 participants