This patch if for consistency with the function name and other functions behavior in the same context.
\Drupal\views\Plugin\views\filter\BooleanOperator does not return value options on getValueOptions.
However, other filters do return value options, see InOperator for example.
The function also states that Value Options will be return.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | boolean-operator-filter-return-option-values.patch | 756 bytes | betoaveiga |
| boolean-operator-filter-return-option-values.patch | 756 bytes | betoaveiga |
Comments
Comment #2
betoaveigaAdding contribution info to the patch.
Comment #3
tanmaykLooks fine to me. Changing the issue status.
Comment #11
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.
This will need a valid test case to show the issue.
Comment #13
dcam commentedThis was a duplicate of #1959304: Cleanup get_value_options by returning the value options which was committed, fixing the issue. This is outdated.