Completed
Push — master ( b04d72...52d636 )
by Jonathan
11:25
created
app/Http/Controllers/Core/ListController.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,8 +150,7 @@  discard block
 block discarded – undo
150 150
                     $total = $model->$countMethod($relatedList, $recordId);
151 151
                     $totalFiltered = $total;
152 152
                 }
153
-            }
154
-            elseif ($relatedListId && $action === 'select') {
153
+            } elseif ($relatedListId && $action === 'select') {
155 154
                 // Get related list
156 155
                 $relatedList = Relatedlist::find($relatedListId);
157 156
 
@@ -176,8 +175,7 @@  discard block
 block discarded – undo
176 175
                     $total = $initialQuery->whereNotIn($model->getKeyName(), $filteredRecordIds)->count();
177 176
                     $totalFiltered = $total;
178 177
                 }
179
-            }
180
-            else {
178
+            } else {
181 179
                 // Make the query
182 180
                 $records = $query->get();
183 181
             }
Please login to merge, or discard this patch.