Skip to content

Commit efab058

Browse files
committed
[BUGFIX] Fix redirect demand query
1 parent adc4b3a commit efab058

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Classes/Form/Element/RedirectElement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function getRedirects(): array
6767
$host = $language->getBase()->getHost();
6868

6969
$demand = new Demand(
70-
$site->getRootPageId(),
70+
1,
7171
'source_host',
7272
'asc',
7373
['*', $host],
@@ -80,7 +80,7 @@ protected function getRedirects(): array
8080
$redirectsWithPageIdAsIdentifier = $this->redirectRepository->findRedirectsByDemand($demand);
8181

8282
$oldDemand = new Demand(
83-
$site->getRootPageId(),
83+
1,
8484
'source_host',
8585
'asc',
8686
['*', $host],

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ayacoo/redirect-tab",
33
"type": "typo3-cms-extension",
4-
"version": "2.1.0",
4+
"version": "2.1.1",
55
"description": "Show TYPO3 redirects in the page properties",
66
"authors": [
77
{

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
'author_email' => 'info@ayacoo.de',
99
'state' => 'beta',
1010
'clearCacheOnLoad' => 0,
11-
'version' => '2.1.0',
11+
'version' => '2.1.1',
1212
'constraints' => [
1313
'depends' => [
1414
'typo3' => '11.0.0-11.99.99',

0 commit comments

Comments
 (0)