setup:
* create search view
* 2+ exposed facets
* enable "reset" button

to recreate:
* visit the page and filter so that at least one facet disappears
* click "reset"
* the facet(s) do not reappear

CommentFileSizeAuthor
#13 3469754-11.patch1.13 KBj-barnes
#9 3469754--9.patch849 bytesstrykaizer

Issue fork facets-3469754

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

aaronbauman created an issue. See original summary.

p-neyens’s picture

Assigned: Unassigned » p-neyens
p-neyens’s picture

Status: Active » Needs work

Hi @aaronbauman,

I tried to reproduce your problem. but with no results. Do you perhaps have more info of the specific setup.

Kind regards,

aaronbauman’s picture

are you using facets 3 with views exposed filters?

p-neyens’s picture

Yes, I set up 3 term facets with the facet exposed filters setup as described here https://project.pages.drupalcode.org/facets/exposed_filters/

strykaizer’s picture

Status: Needs work » Postponed (maintainer needs more info)
anybody’s picture

I'm maybe having the same issue, clicking "Reset" doesn't reset the views facet filters. It just does nothing and keeps the filters?

Is this the same effect as described or is it different @p-neyens?

strykaizer’s picture

@anybody: are you using 3.x-beta3?

strykaizer’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new849 bytes

I was able to reproduce this when ajax is enabled.

Attached is a quickfix.
Please let me know if this fixes your issue.

anybody’s picture

@strykaizer:

are you using 3.x-beta3?

Yes.

I'll give it a try soon, currently not on that project! Maybe @p-neyens can check that?

j-barnes made their first commit to this issue’s fork.

j-barnes’s picture

StatusFileSize
new1.13 KB

Thanks for the patch, working great for us. Re-rolling against the latest changes.

  • strykaizer committed 1297d908 on 3.0.x authored by j-barnes
    Issue #3469754 by j-barnes, strykaizer: "reset" button fails to restore...
strykaizer’s picture

strykaizer’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.