Bugzilla – Attachment 187222 Details for
Bug 40916
Cannot edit a list to have a sortfield value of anything other than publicationyear
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40916: Fix another occurance
Bug-40916-Fix-another-occurance.patch (text/plain), 1.06 KB, created by
Biblibre Sandboxes
on 2025-10-01 17:16:49 UTC
(
hide
)
Description:
Bug 40916: Fix another occurance
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2025-10-01 17:16:49 UTC
Size:
1.06 KB
patch
obsolete
>From 07de7e245d9d981daab594fb34abf14134a5dff6 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 30 Sep 2025 20:27:36 +0000 >Subject: [PATCH] Bug 40916: Fix another occurance > >Signed-off-by: Michelle <mspinney@clamsnet.org> >--- > virtualshelves/shelves.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl >index 3753547eba..f64caf7542 100755 >--- a/virtualshelves/shelves.pl >+++ b/virtualshelves/shelves.pl >@@ -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'; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40916
:
187133
|
187137
|
187222
|
187248
|
187249