fixed: Thingy: search result "sort by" not working

This commit is contained in:
Yung Han Khoe 2008-04-22 22:09:30 +00:00
parent 48569a5e00
commit 2afad57758
2 changed files with 2 additions and 1 deletions

View file

@ -2245,7 +2245,7 @@ sub www_search {
return $session->privilege->insufficient() unless $self->hasPrivileges($thingProperties{groupIdSearch});
$doSearch = $session->form->process("doSearch");
$orderBy = $session->form->process("orderBy");
$orderBy = $session->form->process("orderBy") || $thingProperties{sortBy};
$var = $self->get;
$url = $self->getUrl;