Bug 10152: Default sorting wrong in parcels.pl
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 29 Apr 2013 16:32:48 +0000 (12:32 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 1 May 2013 10:26:03 +0000 (06:26 -0400)
commit08d7eeb3545d289b46753913ff852327bebfa5f3
treec330be7368404f24d13304cf362130ebf1ef4ae6
parent87dc4277e5c4a5ca97af341d24084a9be7454409
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.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 23b9661efad0e0fd0deb3e3d025e08c8cfbc1fd3)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
acqui/parcels.pl