Failed Conditions
Pull Request — master (#1763)
by Timo
05:09
created
Classes/Controller/Backend/Search/IndexQueueModuleController.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,8 +229,8 @@
 block discarded – undo
229 229
         $label = 'solr.backend.index_queue_module.flashmessage.error.single_item_not_requeued';
230 230
         $severity = FlashMessage::ERROR;
231 231
 
232
-         $updateCount = $this->indexQueue->updateItem($type, $uid, time());
233
-         $updateCount += $this->tiggerUpdateHook($type, $uid, $pageId, $languageUid);
232
+            $updateCount = $this->indexQueue->updateItem($type, $uid, time());
233
+            $updateCount += $this->tiggerUpdateHook($type, $uid, $pageId, $languageUid);
234 234
 
235 235
         if($updateCount > 0) {
236 236
             $label = 'solr.backend.index_queue_module.flashmessage.success.single_item_was_requeued';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
          $updateCount = $this->indexQueue->updateItem($type, $uid, time());
233 233
          $updateCount += $this->tiggerUpdateHook($type, $uid, $pageId, $languageUid);
234 234
 
235
-        if($updateCount > 0) {
235
+        if ($updateCount > 0) {
236 236
             $label = 'solr.backend.index_queue_module.flashmessage.success.single_item_was_requeued';
237 237
             $severity = FlashMessage::OK;
238 238
         }
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/QueryBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
         $query->setQueryType('standard');
182 182
         $query->useRawQueryString(true);
183 183
         $query->setQueryString('*:*');
184
-        $query->getFilters()->add('type:'. $type .' AND uid:' . $uid);
184
+        $query->getFilters()->add('type:' . $type . ' AND uid:' . $uid);
185 185
         $query->getFilters()->add('siteHash:' . $site->getSiteHash());
186 186
         $query->getReturnFields()->add('*');
187 187
         $query->setSorting('type asc, title asc');
Please login to merge, or discard this patch.