Skip to content

Facets block/Facets Searchbox Widget not working in WXT Boostrap + any child theme #27

@jaybabak

Description

@jaybabak

I have found across multiple sites that any site using Wxt Bootstrap as the base theme (including any child themes) will run into issues when trying to use the Facets block that come with the Facets module. The issues are isolated to only the wxt_bootstrap theme, using Bartik or any other Drupal theme the facets block work fine.

Reproduce the issue:

  1. Install and set as default either wxt_boostrap or any child-theme e.g: wxtsub_bootstrap to be the main default theme for the website.
  2. Install facets module and setup Search API/Search API Solr
  3. Configure the facets, use a facet source that is: "Searchable list of checkboxes/Searchable list of links" (must enable "Facets Searchbox Widget") or use the "List of checkboxes" display type
  4. Place a block created with the facets module on the page

Expected result:
Search input works and filters the list based on the user input, checkboxes should appear on the page

Actual result
Entering text into the search box (for searchable list), nothing happens. For the List of checkboxes display type the links (a tags) do not get turned into checkboxes

Note:

This works for anonymous users and does not work for authenticated users, also found that the JS placeholder (from BigPipe) is not replacing the correct tags with the actual loaded JS.

Workaround

Install the Facets Form module OR disable BigPipe completely

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions