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?

Comments

David Lesieur’s picture