mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Warn about missing search-time filtering
This commit is contained in:
@@ -38,6 +38,8 @@ class QueryCompiler
|
||||
|
||||
private function injectThesaurusConcepts(Query $query)
|
||||
{
|
||||
// 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);
|
||||
|
||||
|
Reference in New Issue
Block a user