I'm using Facet API 7.x-1.3+2-dev.

After changin facet's display widget and saving the form it's back to previously selected one. This is happening when trying to switch Links with checkboxes to Links as well as other display widgets. Always gets me back to Links with checkboxes.

The settings of selected widget are saved fine though. I can see them saved after selecting display widget again.
Is anyone having such a problem?

Comments

philipz’s picture

After some testing now I see this is happening to one facet only. Others are not affected and allow me to change display widget normally. Cleared all caches but still nothing.

philipz’s picture

One thing I've managed to debug is that my facet seems to be saving the settings to facetapi table just fine. After submitting the form the settings column is updated.
Then the form reloads and the default widget "Links with checkboxes" is selected and loaded to the form.

This means if I understand correctly that the problem is somewhere in $adapter->getFacet($facet) or $adapter->getFacet($facet)->getSettings($realm).

Just documenting my debugging efforts... if someone knows more please help :)

philipz’s picture

Status: Active » Fixed

It was some kind of bug in commerce kickstart search. Works fine after disabling it.

Status: Fixed » Closed (fixed)

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