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:25:55 +0000 (06:25 -0400)
commit23b9661efad0e0fd0deb3e3d025e08c8cfbc1fd3
tree65f900100adfa2018291e39f201f1fd6075de4b1
parent8f37d71906eb4775121cfa53e4323b10fb589f6b
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>
acqui/parcels.pl