Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a twig that displays a page sidebar twice on a page - once for mobile and next for the desktop. In such a case, the javascript on a facet displayed multiple times on a page does not work twice.
Comment | File | Size | Author |
---|---|---|---|
#6 | same_facet_used_more-2910421-6.patch | 881 bytes | b_sharpe |
#3 | Screen Shot 2017-09-21 at 13.38.20.png | 23.46 KB | gauravjeet |
#3 | same_facet_used_more-2910421-3.patch | 733 bytes | gauravjeet |
Screen Shot 2017-09-21 at 13.37.21.png | 13.8 KB | gauravjeet |
Comments
Comment #2
gauravjeet CreditAttribution: gauravjeet as a volunteer and at Acro Commerce commentedComment #3
gauravjeet CreditAttribution: gauravjeet as a volunteer and at Acro Commerce commentedHere is the patch. A screenshot of facets after applying this patch.
Comment #4
gauravjeet CreditAttribution: gauravjeet as a volunteer and at Acro Commerce commentedComment #5
gauravjeet CreditAttribution: gauravjeet as a volunteer and at Acro Commerce commentedComment #6
b_sharpe CreditAttribution: b_sharpe at ImageX commentedThanks, works great! Rerolled strictly so patch would apply properly in composer as had 'a/facets' path, no code change.
Comment #7
StryKaizerThx all!