Bugzilla – Attachment 17848 Details for
Bug 10152
Default sorting wrong in parcels.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 10152: Default sorting wrong in parcels.pl
SIGNED-OFF-Bug-10152-Default-sorting-wrong-in-parc.patch (text/plain), 1.53 KB, created by
Owen Leonard
on 2013-04-30 18:06:45 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 10152: Default sorting wrong in parcels.pl
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-04-30 18:06:45 UTC
Size:
1.53 KB
patch
obsolete
>From 4df830dfc7f94d88187afd3314ba9dbb761a7604 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Mon, 29 Apr 2013 12:32:48 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 10152: Default sorting wrong in parcels.pl >Content-Type: text/plain; charset="utf-8" > >When you are receiving an order, the list of existing invoices should >appear in reverse chronological order. Unfortunately, right now it >appears in regular chronological order. > >To test: >1) Make sure you have multiple invoices that have varying shipment > dates for a vendor. We will assume this vendor is called "Example > Vendor." >2) Choose the "Receive shipments" button on the Example Vendor page. >3) Note that the invoices are sorted by regular chronological order. >4) Apply patch. >5) Refresh "Receive shipment" page. Note that invoices are now sorted > in reverse chronological order. >6) Sign off. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > acqui/parcels.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/parcels.pl b/acqui/parcels.pl >index de868df..405ff64 100755 >--- a/acqui/parcels.pl >+++ b/acqui/parcels.pl >@@ -79,7 +79,7 @@ use C4::Budgets; > > my $input = CGI->new; > my $booksellerid = $input->param('booksellerid'); >-my $order = $input->param('orderby') || 'datereceived desc'; >+my $order = $input->param('orderby') || 'shipmentdate desc'; > my $startfrom = $input->param('startfrom'); > my $code = $input->param('filter'); > my $datefrom = $input->param('datefrom'); >-- >1.7.9.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 10152
:
17806
|
17848
|
17864