fixed bug 9989: thing pagination no longer includes datasave params

This commit is contained in:
David Delikat 2009-04-13 00:48:10 +00:00
parent a2540ddbfd
commit 599d0ec770
2 changed files with 4 additions and 0 deletions

View file

@ -1,4 +1,5 @@
7.7.4
- fixed #9989: thing-search template won't include data-save params in the url for pagination
- fixed #10122: fixed date object to not change the value in 'toHtml' function.
- fixed #9764: drag drop now uses the handle for 'pickup' rather than the whole object.
- Default Survey Question bundles now store full answer information in json. Everything configured in an answer will be saved in a default configuration.

View file

@ -3152,6 +3152,9 @@ sub getSearchTemplateVars {
$currentUrl = $self->getUrl();
foreach ($self->session->form->param) {
# if we just saved data from an edit, we do not want to keep any of the params
last if $_ eq 'func' and $self->session->form->process($_) eq 'editThingDataSave';
unless ($_ eq "pn" || $_ eq "op" || $_ =~ /identifier/xi || $_ =~ /password/xi || $_ eq "orderBy" ||
$self->session->form->process($_) eq "") {
$currentUrl = $self->session->url->append($currentUrl,$self->session->url->escape($_)