Bug 8719: Private lists always sorted by title
Virtualshelves: The private lists were sorted by title, even when author or date was selected. This patch corrects this behaviour. Signed-off-by: Marc Veron <veron@veron.ch> With this patch lists sort as expected. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
c2e5ae2e66
commit
0acebb8fc6
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ sub shelfpage {
|
||||||
my $authorsort;
|
my $authorsort;
|
||||||
my $yearsort;
|
my $yearsort;
|
||||||
my $tag_quantity;
|
my $tag_quantity;
|
||||||
my $sortfield = ( $query->param('sortfield') ? $query->param('sortfield') : 'title' );
|
my $sortfield = ( $sorton ? $sorton : 'title' );
|
||||||
if ( $sortfield eq 'author' ) {
|
if ( $sortfield eq 'author' ) {
|
||||||
$authorsort = 'author';
|
$authorsort = 'author';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue