Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Strange simplesearch plugin config behavior

Started by Muut Archive 10 years ago · 1 replies · 494 views
10 years ago

I recently enabled multisite (possibly a coincidence) and shortly after noticed simplesearch stopped working (always returned 0 results). Looking at the plugin config in the debug panel I discovered that the filters setting is an array containing both my value in user/config/plugins/simplesearch.yaml and the value in the plugins default yaml file (which is 'category: blog'). This broke my search because I do not have a blog category in the site's taxonomy. Removing the filters: key from user/plugins/simplesearch/simplesearch.yaml (my multisites are symlinked here) resolved the issue.

As far as I know the correct behavior is for my config to override the plugins default config not result in a merged array both both configs. Am I missing something or is there some kind of bug here?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago