- 🇳🇿New Zealand ericgsmith
Tested on Drupal 10.1.
Setup
- Created 2 content types
- Created solr index,
- Create search api view
- Created test content and indexed
- Added facet for content typeTest steps
- Edited facet, was able to see the option "Make first facet active"
- Enabled that option
- Accessed the search viewResults
Initially I did not receive a redirect. I applied the patch from https://www.drupal.org/project/facet_active_by_default/issues/3354978 🐛 First result is not made active if array key is 0 Fixed and it worked as expected - I was redirected and the first facet item was active.
In the logs I continue to see the same PHP type error from https://www.drupal.org/project/facet_active_by_default/issues/3366611 🐛 TypeError as an array is not returned after redirecting Fixed . That patch also applied and resolved the error.
Given that those 2 things are separate issues / existing in D9 - I think this is RTBC for Drupal 10 - but it would be awesome to get maintainer feedback on those issues for a new release of this module.
- @ericgsmith opened merge request.
- Status changed to Fixed
about 1 year ago 2:08pm 8 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.