In the FacetDisplayForm we use a library from search_api, we shouldn't rely on search_api being available, so we should copy the library to facets and use our own version.
$form['#attached']['library'][] = 'search_api/drupal.search_api.index-active-formatters';

Comments

borisson_ created an issue. See original summary.

sdstyles’s picture

Status: Active » Needs review
StatusFileSize
new2.73 KB
borisson_’s picture

Status: Needs review » Reviewed & tested by the community

Looks great, thanks!

borisson_’s picture

Status: Reviewed & tested by the community » Fixed

Thanks again for your contribution, committed.

  • borisson_ committed a217c2f on 8.x-1.x authored by sdstyles
    Issue #2655382 by sdstyles: Copy library from search api into facets
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.