Metadata: Selection list filter breaks the filter in the Asset Library

Created on 23 January 2024, 5 months ago
Updated 25 January 2024, 5 months ago

Problem/Motivation

Update: This appears to be an issue with Select List even if you don't use the multi-value. The clear button doesn't work because it should be setting the value to "All" not empty.
Original report:
The filter for Metadata: Selection list has the option to Allow multiple selections, but enabling it breaks the filter for me.

Multi-select here would be great, especially if it plays nice with better_exposed_filters. :)

Steps to reproduce

  1. Add filter for Metadata: Selection list to the Asset Library view /admin/structure/views/view/acquia_dam_asset_library
  2. Check Allow multiple selections.
  3. Select OR for Type of operation expected. (I get the same behavior if I use the AND type of operation.)
  4. Add media via the asset library.
  5. Select 1 value from the filter and Apply.
  6. Get results as expected.
  7. Select a different value (but only select one value).
  8. I get zero results, and I see that the first option I selected is highlight as well as the second option I highlighted. See dam-multi-select-filter1.mov β†’
  9. Hit Clear filter, but nothing changes; I still get zero results. See dam-multi-select-filter2.mov β†’
  10. Refresh the page and select 2 or more values at once (holding down CMD or SHIFT), then it just gives me zero results and no way to clear it.
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States capysara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024