[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5835] trunk



Revision: 5835
          http://sourceforge.net/p/ledger-smb/code/5835
Author:   einhverfr
Date:     2013-05-20 08:04:02 +0000 (Mon, 20 May 2013)
Log Message:
-----------
Adding secondary ordering by patnumber to eca history report

Modified Paths:
--------------
    trunk/Changelog
    trunk/sql/modules/Company.sql

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-05-20 06:21:21 UTC (rev 5834)
+++ trunk/Changelog	2013-05-20 08:04:02 UTC (rev 5835)
@@ -95,6 +95,7 @@
 * Project, serial number, and notes now appear initially (Chris T, 824)
 * Fixed double-counting first date's balance on gl report (Chris T)
 * Fixed user creation failing on some timezones with some datestyles (Chris T)
+* Added secondary partnumber ordering to eca history report (Chris T)
 
 Changelog for 1.3.32
 * Fixed em-dash handling for pdfs (Chris T)

Modified: trunk/sql/modules/Company.sql
===================================================================
--- trunk/sql/modules/Company.sql	2013-05-20 06:21:21 UTC (rev 5834)
+++ trunk/sql/modules/Company.sql	2013-05-20 08:04:02 UTC (rev 5835)
@@ -189,7 +189,7 @@
 --          and (eca.startdate >= $14 or $14 is null)
 --          and (eca.startdate <= $15 or $15 is null)
 --          and (a.notes @@ plainto_tsquery($9) or $9 is null)
- ORDER BY eca.meta_number;
+ ORDER BY eca.meta_number, p.partnumber;
 $$ LANGUAGE SQL;
 
 COMMENT ON FUNCTION eca__history 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.