IDEMPIERE-337 / fix error reported by Naim Berisha

https://groups.google.com/d/topic/idempiere/Mf-5C62kivg/discussion
This commit is contained in:
Carlos Ruiz 2013-02-14 12:17:53 -05:00
parent 8c7ba69090
commit 1512899018
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ public class InfoProductPanel extends InfoPanel implements EventListener<Event>
String countSql = Msg.parseTranslation(Env.getCtx(), sqlMain.toString()); // Variables String countSql = Msg.parseTranslation(Env.getCtx(), sqlMain.toString()); // Variables
countSql = MRole.getDefault().addAccessSQL (countSql, getTableName(), countSql = MRole.getDefault().addAccessSQL (countSql, getTableName(),
MRole.SQL_FULLYQUALIFIED, MRole.SQL_RO); MRole.SQL_FULLYQUALIFIED, MRole.SQL_RO);
String sqlCount = "SELECT COUNT(*) FROM (" + countSql + ") AS ProductInfo"; String sqlCount = "SELECT COUNT(*) FROM (" + countSql + ") ProductInfo";
log.finer(sqlCount); log.finer(sqlCount);
m_count = -1; m_count = -1;