I ran into this problem before but blamed facets for this bug. Actually I discovered that Facets Pretty Path is causing the bug.

Using Drupal 8.3.5, Facets 8.x-1.0-alpha11, Search API 8.x-1.3

In the facets source configuration 'Pretty paths' is selected as 'URL Processor'. In my facet 'List of links' is selected as 'Widget'. The facet is rendered fine.

Changing the 'Widget' to 'List of checkboxes' and saving the facet configuration, the setting is reverted to the last configuration after page reload making the widget configuration stuck on this setting.

A workaround is to change the 'URL Processor' back to 'Query string', change the facets widget and than again turn on 'Pretty paths' as 'URL Processor'.

CommentFileSizeAuthor
#4 2901323--fix-facets-settings-form.patch747 bytesstrykaizer

Comments

VISIOS created an issue. See original summary.

dillix’s picture

Title: Facets widget can't be changed if facets pretty path module is used » Facets widget settings can't be saved if facets pretty path module is used
Priority: Normal » Critical

My facets widget settings can't be saved when I enable this module.

b_sharpe’s picture

I can confirm this behavior, was also blaming facets.

strykaizer’s picture

Status: Active » Needs review
StatusFileSize
new747 bytes

Thanks for the report!

  • StryKaizer committed afa1dfd on 8.x-1.x
    Issue #2901323 by StryKaizer: Facets widget settings can't be saved if...
strykaizer’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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