From 064e22b762d98ecca17136a464745e1046122b0d Mon Sep 17 00:00:00 2001 From: kmadejski Date: Wed, 2 Aug 2017 10:42:58 +0200 Subject: [PATCH] EZP-27735 Solr index not updated immediately after change content priority --- kernel/content/ezcontentoperationcollection.php | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/content/ezcontentoperationcollection.php b/kernel/content/ezcontentoperationcollection.php index bfc44e02766..603c360ce66 100644 --- a/kernel/content/ezcontentoperationcollection.php +++ b/kernel/content/ezcontentoperationcollection.php @@ -1244,6 +1244,7 @@ static public function updatePriority( $parentNodeID, $priorityArray = array(), $db->commit(); if ( !eZSearch::getEngine() instanceof eZSearchEngine ) { + eZContentCacheManager::clearContentCacheIfNeeded( $objectIDs ); foreach ( $objectIDs as $objectID ) { eZContentOperationCollection::registerSearchObject( $objectID );