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

Search issue in Province Page #231

Closed
Tracked by #110
ekamuktia opened this issue Jul 20, 2021 · 0 comments · Fixed by #286
Closed
Tracked by #110

Search issue in Province Page #231

ekamuktia opened this issue Jul 20, 2021 · 0 comments · Fixed by #286
Assignees
Labels
bug Something isn't working ui User Interface

Comments

@ekamuktia
Copy link
Collaborator

ekamuktia commented Jul 20, 2021

Description

Just like previous bug in FAQ page #203, the same bug still exists on Province page.
For example:

  1. Search "medika" in https://www.wargabantuwarga.com/provinces/dkijakarta-1
  2. Select "Rumah Sakit" for Kategori filter
  3. Type "Cahaya Gas" in keyword input
  4. Click "cari" button
    image

image
The category filters are updated based on the keyword search, but the selected filter on the form is still "Rumah Sakit" which doesn't exist in new category filters so Kategori doesn't have selected item.
Or in another case like in #203, different filter is selected (probably based on the order on previous filter option?)

The result is also empty because it applies both keyword and the filter (searching for "Cahaya Gas" keyword with "Rumah Sakit" category.

Expected Behaviour

When cari button is clicked, the filter should be cleared/reset(?)
I'm still not sure what behavior will be more natural.
When user already select a category and search for another keyword:

  • Does user looking for a completely new result based on keyword? or
  • User wants to search those keyword for items under selected filter?
    After the rule is fixed, then the bug should be fixed accordingly.
@ekamuktia ekamuktia added the bug Something isn't working label Jul 20, 2021
@mazipan mazipan added the ui User Interface label Jul 21, 2021
@ekamuktia ekamuktia mentioned this issue Jul 22, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui User Interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants