Filter functions within the Account Fragment does not work as expected.
When the accounts are filtered and the result is empty, it doesn't show the empty result page
When the clear filter button is clicked, the accounts list does not reset to the original list
Steps to reproduce:
At home page, click Accounts
Filter the list to an empty list (It will not show empty accounts page)
Clear the filter (it will not reset the accounts list)
Expected behaviour:
It should correctly revert to the original list after clicking clear filter, and show empty accounts list when filter does not return any acocunt
Observed behaviour:
It does not revert to original list, and instead still shows the current accounts list
Summary:
Filter functions within the Account Fragment does not work as expected.
At home page, click Accounts Filter the list to an empty list (It will not show empty accounts page) Clear the filter (it will not reset the accounts list)
Expected behaviour:
It should correctly revert to the original list after clicking clear filter, and show empty accounts list when filter does not return any acocunt
Observed behaviour:
It does not revert to original list, and instead still shows the current accounts list
Demo Video:
https://github.com/openMF/mifos-mobile/assets/82792334/795adfff-8395-4e6c-b601-63687ca2c508