Skip to content
Snippets Groups Projects

Resolve #2877061 "Illegal choice in grouped exposed filters with enabled option remember"

Open Resolve #2877061 "Illegal choice in grouped exposed filters with enabled option remember"
2 unresolved threads
Open Andrei Ivnitskii requested to merge issue/drupal-2877061:2877061-11 into 11.x
2 unresolved threads

Closes #2877061

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Andrei Ivnitskii added 269 commits

    added 269 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Andrei Ivnitskii resolved all threads

    resolved all threads

  • catch @catch started a thread on the diff
  • 1512 1523 // Value can be optional, For example for 'empty' and 'not empty' filters.
    1513 1524 if (isset($selected_group_options['value']) && $selected_group_options['value'] !== '') {
    1514 1525 $input[$this->options['group_info']['identifier']] = $selected_group_options['value'];
    1526 $input[$this->options['expose']['identifier']] = $selected_group_options['value'];
    1527 $this->group_info = $selected_group;
    1528 }
    1529 elseif (isset($selected_group_options['string']) && $selected_group_options['string'] !== '') {
  • catch @catch started a thread on the diff
  • 1019 1019 $form_state->setUserInput($user_input);
    1020 1020 }
    1021 1021 }
    1022 elseif (!empty($this->options['group_info']['remember'])) {
    1023 $user_input = $form_state->getUserInput();
    1024 if (isset($user_input[$value]) && isset($user_input[$value . '_group'])) {
    1025 $user_input[$value] = $user_input[$value . '_group'];
    1026 $form_state->setUserInput($user_input);
    1027 }
    1028 elseif (is_array($user_input[$value] ?? NULL)) {
    Please register or sign in to reply
    Loading