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

Filter Functionality Not Working Properly #1151

Open
Yash-Raj-Singh opened this issue Jul 29, 2021 · 3 comments
Open

Filter Functionality Not Working Properly #1151

Yash-Raj-Singh opened this issue Jul 29, 2021 · 3 comments
Labels
Category: Coding Changes to code base or refactored code that doesn't fix a bug. Open Source Hack Status: Available Issue was approved and available to claim or abandoned for over 3 days. Type: Bug Bug or Bug fixes.

Comments

@Yash-Raj-Singh
Copy link
Contributor

Describe the bug

In Member Page, the list having users do not have all the users to show in recycler view, due to which Filter Functionality is not working properly.
(If you use logcat to check the size of user list before passing it in recycler view, it generally shows 20 or 40 but the database has way more users than that.)
For example - There are users present in the database with Location 'India', but if you go to Member page and Filter out users with location 'India', you will see a blank page.
Now, if you go to member page and scroll down the recycler view till the end and then apply the same filter you will see all the user with location 'India'.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Member Page'
  2. Click on 'Filter'
  3. Scroll down to 'Location Field'
  4. Type 'India'
  5. See error

Expected behavior

After applying filter, we should be able to see relevant data.

Screenshots

Without Scrolling Recycler View Till The End :

Without Loading List Applying Filter Filter Result

After Scrolling Recycler View Till The End :

After Loading List Applying Filter Filter Result Refreshing Filter Result

Smartphone (please complete the following information):

  • Device: [Samsung M21]
  • OS: [Android 11]

Additional context

Even after filtering out the result after scrolling member page till the end, if you refresh the filter result page, it again goes to blank.

@vj-codes vj-codes added Category: Coding Changes to code base or refactored code that doesn't fix a bug. Status: Available Issue was approved and available to claim or abandoned for over 3 days. Type: Bug Bug or Bug fixes. labels Jul 29, 2021
@isabelcosta
Copy link
Member

Thank you so much for such a detailed issue description 🙌🏾 @Yash-Raj-Singh

@epicadk
Copy link
Member

epicadk commented Aug 19, 2021

This seems like a backend issue. Does the backend support filters? @anitab-org/mentorship-maintainers

@isabelcosta
Copy link
Member

@epicadk as we discussed together in the mentorship session, we are trying to achieve that there in the backend. So in progress :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Coding Changes to code base or refactored code that doesn't fix a bug. Open Source Hack Status: Available Issue was approved and available to claim or abandoned for over 3 days. Type: Bug Bug or Bug fixes.
Projects
None yet
Development

No branches or pull requests

4 participants