Skip to content

Commit 814c348

Browse files
committed
IBX-9060: Fixed POST method
1 parent 937cfd6 commit 814c348

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bundle/Form/Type/SearchType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
4545
public function configureOptions(OptionsResolver $resolver): void
4646
{
4747
$resolver->setDefaults([
48-
'method' => 'GET',
48+
'method' => 'POST',
4949
'csrf_protection' => false,
5050
'data_class' => SearchQueryData::class,
5151
'notification_types' => [],

src/bundle/Resources/config/routing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ ibexa.notifications.render.all:
917917
defaults:
918918
_controller: 'Ibexa\Bundle\AdminUi\Controller\AllNotificationsController::renderAllNotificationsPageAction'
919919
page: 1
920-
methods: [GET]
920+
methods: [ GET, POST ]
921921
requirements:
922922
page: '\d+'
923923

0 commit comments

Comments
 (0)