When you are receiving an order, the list of existing invoices should appear in reverse chronological order. Unfortunately, right now it appears in ID order.
Created attachment 17806 [details] [review] 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.
I have no idea what the "Line" column is supposed to mean, and perhaps we should get rid of it as it appears to have no meaning at all, but this bug is not for that issue. It is merely to correct a typo that means that the default sorting never gets applied.
Created attachment 17848 [details] [review] [SIGNED-OFF] 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>
Created attachment 17864 [details] [review] [PASSED QA] 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.
This patch has been pushed to master and 3.12.x.
Pushed to 3.10.x will be in 3.10.6