Download & Extend

"Show more" link not shown on facet blocks provided by other modules

Project:Apache Solr Search Integration
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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?

AttachmentSizeStatusTest resultOperations
apachesolr-facet-modules-show-more.patch2.1 KBIgnored: Check issue status.NoneNone

Comments

#1