Bugzilla – Attachment 12027 Details for
Bug 8719
Private lists always sorted by title (even when author or date is selected)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8719: Private lists always sorted by title
SIGNED-OFF-Bug-8719-Private-lists-always-sorted-by.patch (text/plain), 1.15 KB, created by
Marc Véron
on 2012-09-06 20:18:57 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8719: Private lists always sorted by title
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2012-09-06 20:18:57 UTC
Size:
1.15 KB
patch
obsolete
>From 4a118b76475708901cdfcc4913389005e4528b86 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Tue, 4 Sep 2012 13:59:35 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 8719: Private lists always sorted by title >Content-Type: text/plain; charset="utf-8" > >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. >--- > 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 c765cf0..988244c 100644 >--- a/C4/VirtualShelves/Page.pm >+++ b/C4/VirtualShelves/Page.pm >@@ -251,7 +251,7 @@ sub shelfpage { > my $authorsort; > my $yearsort; > my $tag_quantity; >- my $sortfield = ( $query->param('sortfield') ? $query->param('sortfield') : 'title' ); >+ my $sortfield = ( $sorton ? $sorton : 'title' ); > if ( $sortfield eq 'author' ) { > $authorsort = 'author'; > } >-- >1.7.2.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 8719
:
11957
| 12027