Bugzilla – Attachment 10530 Details for
Bug 8323
User created lists not sorting properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixing year sorting of OPAC lists
0001-bug-8323-fixing-year-sorting-of-a-list.patch (text/plain), 1.03 KB, created by
Chris Hall
on 2012-06-27 01:38:33 UTC
(
hide
)
Description:
Fixing year sorting of OPAC lists
Filename:
MIME Type:
Creator:
Chris Hall
Created:
2012-06-27 01:38:33 UTC
Size:
1.03 KB
patch
obsolete
>From 04ec4c9ff92ca32c50f272ed71fcf525d7fa1d33 Mon Sep 17 00:00:00 2001 >From: Chris Hall <chrish@catalyst.net.nz> >Date: Fri, 22 Jun 2012 10:36:45 +1200 >Subject: [PATCH] bug 8323 fixing year sorting of a list > >--- > C4/VirtualShelves/Page.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/VirtualShelves/Page.pm b/C4/VirtualShelves/Page.pm >index f21fd85..c765cf0 100644 >--- a/C4/VirtualShelves/Page.pm >+++ b/C4/VirtualShelves/Page.pm >@@ -258,7 +258,7 @@ sub shelfpage { > if ( $sortfield eq 'year' ) { > $yearsort = 'year'; > } >- ( $items, $totitems ) = GetShelfContents( $shelfnumber, $shelflimit, $shelfoffset ); >+ ( $items, $totitems ) = GetShelfContents( $shelfnumber, $shelflimit, $shelfoffset, $sortfield eq 'year' ? 'copyrightdate' : $sortfield ); > for my $this_item (@$items) { > my $biblionumber = $this_item->{'biblionumber'}; > my $record = GetMarcBiblio($biblionumber); >-- >1.7.4.1 >
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 8323
:
10530
|
10537