MDL-82913 reportbuilder: simplify select filter for limited options. a0ef4bb8fe42bbd4106687adc29d27cf48ac6bf5
authorPaul Holden <paulh@moodle.com>
Fri, 30 Aug 2024 09:55:25 +0000 (10:55 +0100)
committerPaul Holden <paulh@moodle.com>
Fri, 22 Nov 2024 15:38:11 +0000 (15:38 +0000)
commita0ef4bb8fe42bbd4106687adc29d27cf48ac6bf5
tree05bbb4bf73514811b3ec97da3f51ba5101dcb3d6
parent505a85eb9ae2db84eff143a282ae79b55205c464
MDL-82913 reportbuilder: simplify select filter for limited options.

Where the select filter contains upto two items (making it a binary
choice), then we can simplify the filter form elements to always
assume: "Equal to [ Option 1 | Option 2 ]".
admin/tests/behat/browse_users.feature
admin/tests/reportbuilder/datasource/task_logs_test.php
reportbuilder/classes/local/filters/select.php
reportbuilder/tests/behat/audience.feature