@@ -188,7 +188,7 @@ |
||
188 | 188 | */ |
189 | 189 | public function getSubManager( string $manager, string $name = null ) : \Aimeos\MShop\Common\Manager\Iface |
190 | 190 | { |
191 | - return $this->getSubManagerBase( $this->getDomain(), trim( $this->getSubPath() . '/' . $manager, '/'), $name ); |
|
191 | + return $this->getSubManagerBase( $this->getDomain(), trim( $this->getSubPath() . '/' . $manager, '/' ), $name ); |
|
192 | 192 | } |
193 | 193 | |
194 | 194 |
@@ -366,9 +366,12 @@ |
||
366 | 366 | |
367 | 367 | $results = $this->searchItemsBase( $conn, $filter, $cfgPathSearch, $cfgPathCount, $required, $total, $level ); |
368 | 368 | |
369 | - try { |
|
369 | + try |
|
370 | + { |
|
370 | 371 | return $this->fetch( $results, $ref, $this->prefix(), $attrs ); |
371 | - } catch( \Exception $e ) { |
|
372 | + } |
|
373 | + catch( \Exception $e ) |
|
374 | + { |
|
372 | 375 | $results->finish(); throw $e; |
373 | 376 | } |
374 | 377 | } |
@@ -319,7 +319,7 @@ |
||
319 | 319 | 'order.product.id' => [ |
320 | 320 | 'code' => 'order.product.id', |
321 | 321 | 'internalcode' => 'id', |
322 | - 'internaldeps' => [ 'LEFT JOIN "mshop_order_product" AS mordpr ON ( mord."id" = mordpr."parentid" )' ], |
|
322 | + 'internaldeps' => ['LEFT JOIN "mshop_order_product" AS mordpr ON ( mord."id" = mordpr."parentid" )'], |
|
323 | 323 | 'label' => 'Order product ID', |
324 | 324 | 'type' => 'int', |
325 | 325 | 'public' => false, |