mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
PHRAS-3389_use-only-conceptpaths-from-selected-dbs_MASTER
fix : fixed [] search (thesaurus) caused by bad thesaurus hydration during record indexing
This commit is contained in:
@@ -46,7 +46,8 @@ class QueryCompiler
|
||||
// TODO We must restrict thesaurus matching for IN queries, and only
|
||||
// search in each field's root concepts.
|
||||
$nodes = $query->getTermNodes();
|
||||
$concepts = $this->thesaurus->findConceptsBulk($nodes, $context->getDataboxes());
|
||||
$filter = Thesaurus\Filter::byDataboxes($context->getDataboxes());
|
||||
$concepts = $this->thesaurus->findConceptsBulk($nodes, null, $filter, false);
|
||||
|
||||
foreach ($concepts as $index => $termConcepts) {
|
||||
$node = $nodes[$index];
|
||||
|
Reference in New Issue
Block a user