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

Redesign Dashboard - Filters, removing filter pills with multiple filter options removes all options but leaves category pill #10918

Closed
Tribunal33 opened this issue Feb 10, 2025 · 2 comments
Assignees
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Milestone

Comments

@Tribunal33
Copy link

Describe the bug
When adding two or more filter options from the same category (only seen with Assigned To and Issues fields) and then removing them from the filter list causes all options to be removed and state is corrupted (see images below).

Preconditions : Default dataset and if you are testing Issues you will need to create another issue first but I believe it is the same behavior as Assigned to Editor.
To Reproduce
Steps to reproduce the behavior:

  1. Login as admin
  2. Go to Active Submissions
  3. Select Filters button
  4. Add David, Daniel and Stephanie
  5. Select Apply Filters
  6. On the Submission filters list remove one of the Assigned to Editor pills by selecting the 'x'

Expected: The remaining 2 filter options should remain
Actual : All of the filter options are removed and 2 blank Assign to editor filter options remain. Also if you were to select filters again, blank editor pills would be saved to the field (see screen shot 2)

What application are you using?
OJS 3.5

Additional information
Please add any screenshots, logs or other information we can use to investigate this bug report.

Image

Image

@Tribunal33 Tribunal33 added the Bug:1:Low A bug that does not have a severe consequence or affects a small number of users. label Feb 10, 2025
@Tribunal33 Tribunal33 added this to the 3.5 Internal milestone Feb 10, 2025
jardakotesovec added a commit to jardakotesovec/ui-library that referenced this issue Feb 11, 2025
jardakotesovec added a commit to pkp/ui-library that referenced this issue Feb 11, 2025
@jardakotesovec
Copy link
Contributor

Great catch. Should be fixed on main now.

@Tribunal33
Copy link
Author

This bug has been fixed. Multiple filter tags can be removed without affecting the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Projects
None yet
Development

No branches or pull requests

2 participants