Skip to content

Fix search criterion value lost on multiple dropdown fields - #1322

Merged
Rom1-B merged 4 commits into
11.0/bugfixesfrom
fix-search-criterion-value-lost-multiple-dropdown
Oct 30, 2026
Merged

Rom1-B merged 4 commits into
11.0/bugfixesfrom
fix-search-criterion-value-lost-multiple-dropdown

Conversation

@Lainow

@Lainow Lainow commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes !47253
  • Here is a brief description of what this PR does

After a search on a multiple dropdown field, the criterion value was reset to -----. Sorting or paging the results then relaunched the search with an empty criterion.

getSpecificValueToSelect() now passes the current value to Dropdown::show(). A regression test covers both dropdown and dropdown-<itemtype> fields.

Screenshots (if appropriate):

@Lainow Lainow self-assigned this Oct 28, 2026
@Lainow
Lainow requested review from a team, Herafia, Mary-Clb and RomainLvr and removed request for a team October 28, 2026 16:28
Comment thread CHANGELOG.md Resolved
@Lainow
Lainow requested a review from Rom1-B October 30, 2026 09:10
@Rom1-B
Rom1-B merged commit c80dc8e into 11.0/bugfixes Oct 30, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the fix-search-criterion-value-lost-multiple-dropdown branch October 30, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants