Postponed
Project:
Drupal core
Version:
main
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 May 2026 at 01:54 UTC
Updated:
28 May 2026 at 01:56 UTC
Jump to comment: Most recent
Split from #3132725: "Limit list to selected items" on exposed filters does not filter and postponed on that being committed.
The underlying logic for the 'Limit list to selected options' is controlled here:
InOperator::acceptExposedInput() {
...
if (empty($this->options['expose']['multiple']) && empty($this->options['expose']['required']) && !empty($this->options['expose']['limit'])) {
}
...
}
That last clause is broken, because the actual setting is called 'reduce' not 'limit'. That's what #3132725 fixes.
However, there's a question as to why we're testing it via !empty() instead of $this->options['expose']['reduce'] === TRUE.
This issue is to explore that and fix the logic.
Comments
Comment #2
dwwWhoops, meant to start this postponed...