Commit b1688274 authored by kroky6's avatar kroky6

[FIX] prevent duplication of trackeritem search index queue updates but use...

[FIX] prevent duplication of trackeritem search index queue updates but use SORT_REGULAR as unique comparison since string comparisons left only one object in the list of arrays
parent 076db7d2
......@@ -83,7 +83,7 @@ class Search_Indexer
public function update(array $objectList)
{
foreach (array_unique($objectList) as $object) {
foreach (array_unique($objectList, SORT_REGULAR) as $object) {
$this->searchIndex->invalidateMultiple(array($object));
$this->addDocument($object['object_type'], $object['object_id']);
}
......
Markdown is supported
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