Posted by David Lesieur on October 20, 2009 at 12:41am
Jump to:
| 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?
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| apachesolr-facet-modules-show-more.patch | 2.1 KB | Ignored: Check issue status. | None | None |
Comments
#1
Should get fixed by #622120: "Show more" links are hardcoded to apachesolr and apachesolr_search modules. This patch abstracts and automates..