Skip to content

Commit 805ce75

Browse files
committed
Merge branch '4.0' into 4.1
2 parents 2103cf9 + 1d24752 commit 805ce75

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

CHANGELOG-3.2.x.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 3.2.17
2+
* [FrontendBundle] add check if category type is grid or list (https://github.com/coreshop/CoreShop/commit/9d41877773419d05bb6149f5c02a1de6c4ff21d8)
3+
* [FrontendBundle] add check for currency in switch action (https://github.com/coreshop/CoreShop/commit/f4cbe978a906fa95c426cd7cb953e0434a178d63)
4+
15
# 3.2.16
26
* [PimcoreBundle] fix MultiSelect (check for existing store) by @breakone in https://github.com/coreshop/CoreShop/pull/2754
37
* [priceNull - 3.2] - add listener for null/empty price on field by @codingioanniskrikos in https://github.com/coreshop/CoreShop/pull/2757

CHANGELOG-4.0.x.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 4.0.14
2+
* [CoreBundle] add payment-provider carrier condition by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2788
3+
* [Store] fix admin site request resolver by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2793
4+
* fix reserved key query by @solverat in https://github.com/coreshop/CoreShop/pull/2803
5+
* [FrontendBundle] fix priority for frontend controller registration by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2807
6+
17
# 4.0.13
28
* [Resource] fallback locale could be null for newly created entities by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2756
39
* fix: CheckoutManager::getNextStep return type by @gander in https://github.com/coreshop/CoreShop/pull/2758

src/CoreShop/Bundle/FrontendBundle/CoreShopFrontendBundle.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
2626
use Pimcore\HttpKernel\Bundle\DependentBundleInterface;
2727
use Pimcore\HttpKernel\BundleCollection\BundleCollection;
28+
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
2829
use Symfony\Component\DependencyInjection\ContainerBuilder;
2930

3031
final class CoreShopFrontendBundle extends AbstractPimcoreBundle implements DependentBundleInterface
@@ -38,7 +39,7 @@ public function build(ContainerBuilder $container): void
3839
{
3940
parent::build($container);
4041

41-
$container->addCompilerPass(new RegisterFrontendControllerPass());
42+
$container->addCompilerPass(new RegisterFrontendControllerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 100);
4243
$container->addCompilerPass(new FrontendInstallerPass());
4344
}
4445

src/CoreShop/Bundle/ProductBundle/Pimcore/Repository/CategoryRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function findChildCategories(CategoryInterface $category): array
3939

4040
if (method_exists($category, 'getChildrenSortBy')) {
4141
$list->setOrderKey(
42-
sprintf('%s ASC', $category->getChildrenSortBy()),
42+
sprintf('`%s` ASC', $category->getChildrenSortBy()),
4343
false,
4444
);
4545
} else {

0 commit comments

Comments
 (0)