Bugzilla – Attachment 3679 Details for
Bug 6062
Basketgroup ordering
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-BZ6062-ordering-basketgroups.patch (text/plain), 1.07 KB, created by
Paul Poulain
on 2011-04-05 12:27:55 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-04-05 12:27:55 UTC
Size:
1.07 KB
patch
obsolete
>From cc38305a38722efac06b0b776c914c26df31cbfc Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Tue, 5 Apr 2011 14:27:35 +0200 >Subject: [PATCH] BZ6062: ordering basketgroups > >When you have many basketgroups, you get the oldest one on top. Usually, you >have something to do on recent ones, so it's better to have basket groups >ordered DESC >--- > C4/Acquisition.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 2a3f9c4..e431bd2 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -658,7 +658,7 @@ Returns a reference to the array of all the basketgroups of bookseller $booksell > sub GetBasketgroups { > my $booksellerid = shift; > die "bookseller id is required to edit a basketgroup" unless $booksellerid; >- my $query = "SELECT * FROM aqbasketgroups WHERE booksellerid=?"; >+ my $query = "SELECT * FROM aqbasketgroups WHERE booksellerid=? ORDER BY `id` DESC"; > my $dbh = C4::Context->dbh; > my $sth = $dbh->prepare($query); > $sth->execute($booksellerid); >-- >1.7.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 6062
:
3679
|
3682