facets_item_list allows wrapper attributes, but does not apply them

Created on 17 May 2024, 6 months ago

Problem/Motivation

The facets_item_list theme hook allows for wrapper attributes. But putting something in the wrapper attributes does not affect the output, though the wrapper attributes are mentioned in the available variables:

wrapper_attributes: HTML attributes to be applied to the list wrapper.

Seems to me, that the wrapper attributes should be applied in the template.

Steps to reproduce

Add something to wrapper_attributes via hook_preprocess_hook for facets_item_list, the wrapper attributes do not appear.

Proposed resolution

output wrapper attributes in template

Remaining tasks

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024