Views Exposed form option of Remember the last selection is not working for multiple options

Created on 11 May 2020, over 4 years ago
Updated 18 April 2024, 8 months ago

Problem/Motivation

Problem: Views Exposed form filters option of Remember the last selection is not working with the multiple options

Description: I have a view with exposed form filters with the options of taxonomy terms

1) Enabled Allow multiple selections
2) Enabled Remember the last selection for both Anonymous and Authenticated users.

When visiting the view and apply either single or multiple options get some results. After going to the node detailed page and come back to the views listing page

The Expected Result is should have the same filters applied and the same result should display.
Actual Result: All filters selecting and No results found displaying.

It should be very thankful can anyone help me to resolve this issue.

Steps to reproduce

Proposed resolution

Remaining tasks

Manual testing to determine if this still an issue.

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
Views 

Last updated 2 days ago

Created by

Live updates comments and jobs are added and updated live.
  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States banoodle San Francisco, CA

    I can confirm I am still experiencing this problem as of core 9.5.9.

    I tried applying patch from comment #10 but it won't apply any more.

    I do not have AJAX enabled on the view.

    The problem is intermittent.

    I've never had the problem described in the related issue. Except for things sometimes being all selected, it does seem to remember and apply the appropriate filter(s) sometimes.

  • 🇧🇪Belgium Vacilando Brussels

    Same here, problem remaining on 9.5.8 :-(

  • 🇺🇸United States banoodle San Francisco, CA

    It seems setting cache to none on the view eliminates the problem. I can maybe get away with that on the current view/site I'm working on, but it's not ideal.

  • 🇺🇸United States banoodle San Francisco, CA

    I take it back: the problem happens even with caching disabled on the view.

  • 🇧🇪Belgium Vacilando Brussels

    Well, in my experience turning off the Views cache improves things. Simple filters are remembered, but filters with multiple choices are not remembered and are all selected (see 🐛 BEF checkboxes - Allow multiple selections - Remember the last selection Active ).

  • Status changed to Closed: cannot reproduce 8 months ago
  • 🇦🇺Australia pameeela

    I am not able to reproduce this on a fresh install:

    Later comments suggest the issue is intermittent, in which case I think that should be a new issue with more information and clear steps, as that is not the same as the initial report. So I will close this issue, please create a new issue even if you are seeing something similar as it will avoid confusion.

Production build 0.71.5 2024