This problem can easily be observed with the ApacheSolr Biblio module, for example.
The "Show more" link gets appended to a facet block through a jQuery selector that relies on the block's ".block-modulename" class attribute. However, apachesolr.js hardcodes the classes ("block-apachesolr" and "block-apachesolr_search"). With this patch, the module names are passed to Drupal.settings and the selector dynamically built using those names.
Alternatively, perhaps one could imagine a different way for selecting the right blocks, without relying on those classes?
| Comment | File | Size | Author |
|---|---|---|---|
| apachesolr-facet-modules-show-more.patch | 2.1 KB | David Lesieur |
Comments
Comment #1
David Lesieur commentedShould get fixed by #622120: "Show more" links are hardcoded to apachesolr and apachesolr_search modules. This patch abstracts and automates..