From 168f6163adc860f2a476f683397b153552bfe976 Mon Sep 17 00:00:00 2001 From: aurynn_cmd Date: Thu, 7 Aug 2008 20:11:08 +0000 Subject: Setting the select for payment page to order vendors by ascending. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2240 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/modules/Payment.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/modules/Payment.sql b/sql/modules/Payment.sql index 1af67e9b..2a7e6e56 100644 --- a/sql/modules/Payment.sql +++ b/sql/modules/Payment.sql @@ -269,7 +269,7 @@ BEGIN (sum(p.due) > c.threshold OR sum(case when a.batch_id = in_batch_id then 1 else 0 END) > 0) - ORDER BY c.meta_number DESC + ORDER BY c.meta_number ASC LOOP RETURN NEXT payment_item; END LOOP; -- cgit v1.2.3