Skip to content
Snippets Groups Projects
Commit b914b6fb authored by Demian Katz's avatar Demian Katz
Browse files

Fixed bug in DOM ID generation.

- We need to base DOM IDs on the FULL, UNIQUE identifier, not just the search class; otherwise, multiple filtered views of the same search backend will yield duplicate IDs.
parent 3a9539e0
Branches
Tags
No related merge requests found
......@@ -166,7 +166,7 @@ class CombinedController extends AbstractSearch
// Calculate a unique DOM id for this section of the search results;
// $searchClassId may contain colons, which must be converted.
$combinedResults[$current]['domId']
= 'combined_' . str_replace(':', '____', $searchClassId);
= 'combined_' . str_replace(':', '____', $current);
$combinedResults[$current]['view']
= (!isset($settings['ajax']) || !$settings['ajax'])
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment