Fix bug id 1646228 - Error in viewer with postgresql
This commit is contained in:
parent
d6c67b75c1
commit
70f9b56f6f
|
@ -902,7 +902,7 @@ public class Viewer extends CFrame
|
|||
+ "FROM AD_Tab t"
|
||||
+ " INNER JOIN AD_Window w ON (t.AD_Window_ID=w.AD_Window_ID)"
|
||||
+ " INNER JOIN AD_Table tt ON (t.AD_Table_ID=tt.AD_Table_ID) "
|
||||
+ "WHERE AD_Table_ID=? "
|
||||
+ "WHERE t.AD_Table_ID=? "
|
||||
+ "ORDER BY w.IsDefault DESC, t.SeqNo, ABS (tt.AD_Window_ID-t.AD_Window_ID)";
|
||||
int AD_Tab_ID = DB.getSQLValue(null, sql, AD_Table_ID);
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue