changing the front end search form method to GET from POST
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 6 Jul 2017 13:25:58 +0000 (09:25 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 6 Jul 2017 13:25:58 +0000 (09:25 -0400)
using GET instead of POST to prevent browser notices about form resubmissions. This is
done in the front events searchForm template

views/front/events/searchForm.html

index be7e1ae..6bb4340 100644 (file)
@@ -22,7 +22,7 @@
                 </div>
             </div>
         </form>
-        <form id="glm-member-event-search" action="{$currentUrl}" method="post">
+        <form id="glm-member-event-search" action="{$currentUrl}" method="get">
             <input type="hidden" name="search" value="1">
              <input type="hidden" name="override_default" value="yes">
             <div class="row">