Bug 9458 - Add sorting to lists - QA Followup 3
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> (cherry picked from commit1ac83c0594) Solved Conflicts: C4/VirtualShelves/Page.pm Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> (cherry picked from commit1ac83c0594)
This commit is contained in:
parent
2d6a24ff67
commit
3ab1502f79
|
|
@ -258,7 +258,7 @@ sub shelfpage {
|
|||
if ( $sortfield eq 'year' ) {
|
||||
$yearsort = 'year';
|
||||
}
|
||||
$sortfield = $query->param('sort') || $sortfield || 'title'; ## Passed in sorting overrides default sorting
|
||||
$sortfield = $query->param('sort') || $sortfield; ## Passed in sorting overrides default sorting
|
||||
my $direction = $query->param('direction') || 'asc';
|
||||
$template->param(
|
||||
sort => $sortfield,
|
||||
|
|
|
|||
Loading…
Reference in New Issue