diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 2d955f9a6..ec544545c 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -2,6 +2,7 @@ - fixed #11362: Unable to checkout with ITransact plugin - fixed #11364: Notify About Low Stock workflow activity email is not user friendly - fixed #11371: Spaces in the names of custom profile fields + - fixed #11372: All Search Forms should use GET 7.8.10 - fixed #11332: Pagination in webgui.org forum urls diff --git a/lib/WebGUI/Asset/Wobject/Calendar.pm b/lib/WebGUI/Asset/Wobject/Calendar.pm index b8f905701..014657bc5 100644 --- a/lib/WebGUI/Asset/Wobject/Calendar.pm +++ b/lib/WebGUI/Asset/Wobject/Calendar.pm @@ -2120,6 +2120,7 @@ sub www_search { $var->{"form.header"} = WebGUI::Form::formHeader($session, { action => $self->getUrl, + method => 'GET', }) . WebGUI::Form::hidden($self->session, { name => "func", diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index d4c0a7763..1384d4143 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -1624,7 +1624,8 @@ sub www_search { my $query = $self->session->form->process("query","text"); $var->{'form.header'} = WebGUI::Form::formHeader($self->session,{ - action=>$self->getUrl("func=search;doit=1") + action=> $self->getUrl("func=search;doit=1"), + method=> 'GET', }); $var->{'query.form'} = WebGUI::Form::text($self->session,{ name => 'query', diff --git a/lib/WebGUI/Asset/Wobject/StoryArchive.pm b/lib/WebGUI/Asset/Wobject/StoryArchive.pm index 2153afaf9..61fc7be0c 100644 --- a/lib/WebGUI/Asset/Wobject/StoryArchive.pm +++ b/lib/WebGUI/Asset/Wobject/StoryArchive.pm @@ -598,7 +598,7 @@ sub viewTemplateVariables { } $var->{keywordCloud} = WebGUI::Keyword->new($session)->generateCloud($cloudOptions); if (! $exporting) { - $var->{searchHeader} = WebGUI::Form::formHeader($session, { action => $self->getUrl }) + $var->{searchHeader} = WebGUI::Form::formHeader($session, { action => $self->getUrl, method => 'GET', }) . WebGUI::Form::hidden($session, { name => 'func', value => 'view' }); $var->{searchFooter} = WebGUI::Form::formFooter($session); $var->{searchButton} = WebGUI::Form::submit($session, { name => 'search', value => $i18n->get('search','Asset')}); diff --git a/lib/WebGUI/Asset/Wobject/UserList.pm b/lib/WebGUI/Asset/Wobject/UserList.pm index a7f6815a8..9e4d3947b 100644 --- a/lib/WebGUI/Asset/Wobject/UserList.pm +++ b/lib/WebGUI/Asset/Wobject/UserList.pm @@ -602,7 +602,7 @@ sub view { $var{user_loop} = \@users; $var{alphabetSearch_loop} = $self->getAlphabetSearchLoop($self->get("alphabetSearchField"),$self->get("alphabet")); - $var{searchFormHeader} = WebGUI::Form::formHeader($self->session,{action => $self->getUrl}); + $var{searchFormHeader} = WebGUI::Form::formHeader($self->session,{action => $self->getUrl, method => 'GET', }); $var{searchFormSubmit} = WebGUI::Form::submit($self->session,{value => $i18n->get('submit search label')}); $var{searchFormFooter} = WebGUI::Form::formFooter($self->session); diff --git a/lib/WebGUI/Asset/Wobject/WikiMaster.pm b/lib/WebGUI/Asset/Wobject/WikiMaster.pm index de7436c7b..01e0c473e 100644 --- a/lib/WebGUI/Asset/Wobject/WikiMaster.pm +++ b/lib/WebGUI/Asset/Wobject/WikiMaster.pm @@ -148,7 +148,7 @@ sub appendSearchBoxVars { my $queryText = shift; my $submitText = WebGUI::International->new($self->session, 'Asset_WikiMaster')->get('searchLabel'); $var->{'searchFormHeader'} = join '', - (WebGUI::Form::formHeader($self->session, { action => $self->getUrl}), + (WebGUI::Form::formHeader($self->session, { action => $self->getUrl, method => 'GET', }), WebGUI::Form::hidden($self->session, { name => 'func', value => 'search' })); $var->{'searchQuery'} = WebGUI::Form::text($self->session, { name => 'query', value => $queryText }); $var->{'searchSubmit'} = WebGUI::Form::submit($self->session, { value => $submitText }); diff --git a/lib/WebGUI/Operation/Group.pm b/lib/WebGUI/Operation/Group.pm index f8ff8433a..5d618d445 100644 --- a/lib/WebGUI/Operation/Group.pm +++ b/lib/WebGUI/Operation/Group.pm @@ -196,7 +196,7 @@ sub getGroupSearchForm { } my $output = '