Completed
Push — 1.2 ( dbb9a2...f48f0d )
by Kamil
39:41 queued 17:33
created
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,11 +86,11 @@
 block discarded – undo
86 86
         // Grid hack, we do not need to join these if we don't sort by price
87 87
         if (isset($sorting['price'])) {
88 88
             // Another hack, the subquery to get the first position variant
89
-             $subQuery = $this->createQueryBuilder('m')
90
-                 ->select('min(v.position)')
91
-                 ->innerJoin('m.variants', 'v')
92
-                 ->andWhere('m.id = :product_id')
93
-             ;
89
+                $subQuery = $this->createQueryBuilder('m')
90
+                    ->select('min(v.position)')
91
+                    ->innerJoin('m.variants', 'v')
92
+                    ->andWhere('m.id = :product_id')
93
+                ;
94 94
             
95 95
             $queryBuilder
96 96
                 ->innerJoin('o.variants', 'variant')
Please login to merge, or discard this patch.