Skip to content

Commit 01b2df9

Browse files
committed
Fix bug, inversion of arguments for subtree and location exclusion
1 parent 948adaa commit 01b2df9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundle/Core/Sitemap/QueryFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public function __invoke(): Query
7171
$criterions,
7272
$this->getCriterionsForConfig(
7373
$config['contentTypeIdentifiers'],
74-
$config['subtrees'],
7574
$config['locations'],
75+
$config['subtrees'],
7676
false
7777
)
7878
);
@@ -83,8 +83,8 @@ public function __invoke(): Query
8383
$criterions,
8484
$this->getCriterionsForConfig(
8585
$config['contentTypeIdentifiers'],
86-
$config['subtrees'],
8786
$config['locations'],
87+
$config['subtrees'],
8888
true
8989
)
9090
);

0 commit comments

Comments
 (0)