- Issue created by @c_archer
- πΊπ¦Ukraine khiminrm
First, we need this fix https://www.drupal.org/project/search_api_glossary/issues/3492668#commen... π TypeError: Cannot access offset of type string on string Active
Second, we need to apply theming to existing widget e.g. disable items without results or we need to create custom widget plugin, maybe for the better_exposed_filter.
- πΊπ¦Ukraine khiminrm
Created patch with the bef widget plugin 'Glossary AZ'. So after adding facet exposed filter for the glossary field, configure exposed form to use better_exposed_filters and for the filter use 'Glossary AZ'. The plugin is based on the Links widget from the bef module. Tried to re-use as much code as possible.
I've also included fixes from the https://www.drupal.org/project/search_api_glossary/issues/3492668#commen... π TypeError: Cannot access offset of type string on string Active
- πΊπ¦Ukraine khiminrm
Removed better_exposed_filters from the dependencies as had error during applying patch with composer install
- πΊπ¦Ukraine khiminrm
Added small fix to have 'fieldset' wrapper around the filter.
- πΊπ¦Ukraine khiminrm
Fixed compatibility with the better_exposed_filters 7.x