Update member search form
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 8 May 2019 12:46:54 +0000 (08:46 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 8 May 2019 12:46:54 +0000 (08:46 -0400)
Use get method. the other attribute for the form tag was only needed if
your sending files. Since there will never be files sent from this form
mutipart is being removed.

views/front/members/list.html

index e6662d6..934bbe5 100755 (executable)
@@ -64,7 +64,7 @@
                 {if $showSettings.list_search_show_button}
                     <div id="glm-member-list-filters-close" class="button glm-button glm-member-list-filters-toggle">Close</div>
                 {/if}
-                <form action="{$thisUrl}?glm_action=list#glm-member-list-filters-button" method="post" enctype="multipart/form-data">
+                <form action="{$thisUrl}?glm_action=list#glm-member-list-filters-button" method="get">
                     {if isset($wpSearch)}<input type="hidden" name="s" value="{$wpSearch|escape:quotes}">{/if}
                     <div class="glma-small-12 glma-columns glm-member-search glm-member-entry-container glm-member-container">
                         {apply_filters('glm-member-db-front-members-list-searchFormTop', '')}