From 12d8c0eacfbe3bc9dd1434b55fbc104fce96aacf Mon Sep 17 00:00:00 2001
From: Georgi Mateev <georgi.mateev@sgalinski.de>
Date: Thu, 17 Oct 2024 20:11:26 +0300
Subject: [PATCH] [BUGFIX] Use real TYPO3 form handling

---
 Resources/Private/Templates/Bootstrap5/Vimeo/Index.html | 4 ++--
 Resources/Private/Templates/Vimeo/Index.html            | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Resources/Private/Templates/Bootstrap5/Vimeo/Index.html b/Resources/Private/Templates/Bootstrap5/Vimeo/Index.html
index c3c2763..d2c87c7 100644
--- a/Resources/Private/Templates/Bootstrap5/Vimeo/Index.html
+++ b/Resources/Private/Templates/Bootstrap5/Vimeo/Index.html
@@ -17,7 +17,7 @@
 		</f:then>
 		<f:else>
 			<f:comment><!--Set the layout to single if there is only one item.--></f:comment>
-			<form>
+			<f:form action="index" method="get">
 				<div class="row">
 					<f:if condition="{filtersTop} || {submitButton.position} == 'top' || {submitButton.position} == 'both'">
 						<div class="sg-video-filters sg-video-filters-top gap-2 d-flex align-items-baseline">
@@ -91,7 +91,7 @@
 						</div>
 					</f:if>
 				</div>
-			</form>
+			</f:form>
 		</f:else>
 	</f:if>
 </f:section>
diff --git a/Resources/Private/Templates/Vimeo/Index.html b/Resources/Private/Templates/Vimeo/Index.html
index 12f71b0..2730de0 100644
--- a/Resources/Private/Templates/Vimeo/Index.html
+++ b/Resources/Private/Templates/Vimeo/Index.html
@@ -39,7 +39,7 @@
 		</f:then>
 		<f:else>
 			<f:comment><!--Set the layout to single if there is only one item.--></f:comment>
-			<form>
+			<f:form action="index" method="get">
 				<div class="row">
 					<f:if condition="{filtersTop} || {submitButton.position} == 'top' || {submitButton.position} == 'both'">
 						<div class="sg-video-filters sg-video-filters-top">
@@ -99,7 +99,7 @@
 						</div>
 					</f:if>
 				</div>
-			</form>
+			</f:form>
 		</f:else>
 	</f:if>
 </f:section>
-- 
GitLab