details:   /erp/devel/pi/rev/8fe20cfac148
changeset: 8721:8fe20cfac148
user:      Stefan Hühner <stefan.huehner <at> openbravo.com>
date:      Sun Oct 24 23:13:50 2010 +0200
summary:   Fixed 14235: Missing order by clause in Field_data.xsql 
selectDefaultValue
Which does lead to compile-errors in some cases if db result-order returned by
two calls to the method (with same parameters) differs

diffstat:

 src-wad/src/org/openbravo/wad/Fields_data.xsql |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 22021bb414f7 -r 8fe20cfac148 
src-wad/src/org/openbravo/wad/Fields_data.xsql
--- a/src-wad/src/org/openbravo/wad/Fields_data.xsql    Sun Oct 24 22:28:31 
2010 +0200
+++ b/src-wad/src/org/openbravo/wad/Fields_data.xsql    Sun Oct 24 23:13:50 
2010 +0200
@@ -334,6 +334,7 @@
       AND ad_column.AD_TABLE_ID = ad_table.AD_TABLE_ID 
         AND t.ad_tab_id = ?
         and ad_table.ad_table_id = t.ad_table_id
+      ORDER BY adcolumnid
       ]]>
     </Sql>
     <Parameter name="sql" optional="true" after="WHERE " 
text="ad_column.defaultvalue LIKE ? || '%' AND "/>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to