- 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
This is no longer relevant in 3.x version of facets, closing this.
Currently the reset_facets
plugin adds it extra reset link to the beginning of the array in class processor/
ResetFacetsProcessor
at line 77. Unfortunately this is not always the desired look for all application and it's quite hard to handle on Twig-level as all <li>
elements (including facet items and this reset link) arrives in one single variable.
However, it could be relatively easy to make configurable to switch between using the current array_unshift()
or its opposite array_push()
when adding reset link to the array of facet items. I can imagine creating a new, boolean type configuration value editable on plugin's config form to make users able to control which end of the list they want the reset link to appear.
If module maintainers' response is positive to this feature request, then I'm open to craft a patch for review and testing.
Config form of "Reset link" plugin would extend with a pair of radio buttons offering site admins with two options
Prior one would remain selected by default.
n/a
Sub-module's config schema needs to be updated to describe the new config value.
A minor, but new feature would be added to the module.
n/a
Closed: outdated
1.4
Facet summary
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This is no longer relevant in 3.x version of facets, closing this.