Skip to content

Commit

Permalink
[BUGFIX] Fix redirect demand query
Browse files Browse the repository at this point in the history
  • Loading branch information
ayacoo committed Nov 18, 2023
1 parent adc4b3a commit efab058
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Classes/Form/Element/RedirectElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function getRedirects(): array
$host = $language->getBase()->getHost();

$demand = new Demand(
$site->getRootPageId(),
1,
'source_host',
'asc',
['*', $host],
Expand All @@ -80,7 +80,7 @@ protected function getRedirects(): array
$redirectsWithPageIdAsIdentifier = $this->redirectRepository->findRedirectsByDemand($demand);

$oldDemand = new Demand(
$site->getRootPageId(),
1,
'source_host',
'asc',
['*', $host],
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ayacoo/redirect-tab",
"type": "typo3-cms-extension",
"version": "2.1.0",
"version": "2.1.1",
"description": "Show TYPO3 redirects in the page properties",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'author_email' => '[email protected]',
'state' => 'beta',
'clearCacheOnLoad' => 0,
'version' => '2.1.0',
'version' => '2.1.1',
'constraints' => [
'depends' => [
'typo3' => '11.0.0-11.99.99',
Expand Down

0 comments on commit efab058

Please sign in to comment.