Bugzilla – Attachment 17806 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]
Bug 10152: Default sorting wrong in parcels.pl
Bug-10152-Default-sorting-wrong-in-parcelspl.patch (text/plain), 1.43 KB, created by
Jared Camins-Esakov
on 2013-04-29 16:37:28 UTC
(
hide
)
Description:
Bug 10152: Default sorting wrong in parcels.pl
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2013-04-29 16:37:28 UTC
Size:
1.43 KB
patch
obsolete
>From 2359d019e37c4e2a587bc0a2b0f960932a147db3 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] Bug 10152: Default sorting wrong in parcels.pl > >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. >--- > 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