Bug 40916: Fix another occurance
Signed-off-by: Michelle <mspinney@clamsnet.org>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ac80486f2e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
a7174af564
commit
815019cc6c
|
|
@ -297,7 +297,7 @@ if ( $op eq 'view' ) {
|
|||
$sortfield = 'title'
|
||||
unless grep { $_ eq $sortfield }
|
||||
qw( title author copyrightdate publicationyear itemcallnumber dateadded );
|
||||
if ( $sortfield == 'copyrightdate' and C4::Context->preference('marcflavour') == 'UNIMARC' ) {
|
||||
if ( $sortfield eq 'copyrightdate' and C4::Context->preference('marcflavour') eq 'UNIMARC' ) {
|
||||
$sortfield = 'publicationyear';
|
||||
}
|
||||
my $direction = $query->param('direction') || 'asc';
|
||||
|
|
|
|||
Loading…
Reference in New Issue