details: https://code.openbravo.com/erp/devel/pi/rev/55729aa70aed
changeset: 22784:55729aa70aed
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Thu Mar 27 13:01:21 2014 +0100
summary: fixed bug 26105: don't check 2.50 WAD compatibilty for datasource
based tables
diffstat:
src-wad/src/org/openbravo/wad/Tabs_data.xsql | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 50e6ac75f3cd -r 55729aa70aed
src-wad/src/org/openbravo/wad/Tabs_data.xsql
--- a/src-wad/src/org/openbravo/wad/Tabs_data.xsql Thu Mar 27 12:35:38
2014 +0100
+++ b/src-wad/src/org/openbravo/wad/Tabs_data.xsql Thu Mar 27 13:01:21
2014 +0100
@@ -12,7 +12,7 @@
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2001-2012 Openbravo SLU
+ * All portions are Copyright (C) 2001-2014 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************
@@ -69,9 +69,12 @@
<SqlMethod name="selectShowWindowIn250ClassicMode" type="preparedStatement"
return="boolean">
<Sql>
- SELECT count(*) as res FROM ad_tab t
- WHERE ad_window_id = ? and
- isactive = 'Y' and
+ SELECT count(*) as res
+ FROM ad_tab t, ad_table tb
+ WHERE t.ad_window_id = ? and
+ t.isactive = 'Y' and
+ tb.ad_table_id = t.ad_table_id and
+ tb.dataorigintype = 'Table' and
(
(whereclause is not null and hqlwhereclause is null) OR
(orderbyclause is not null and hqlorderbyclause is null) OR
------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits