IDEMPIERE-337 / fix error reported by Naim Berisha
https://groups.google.com/d/topic/idempiere/Mf-5C62kivg/discussion
This commit is contained in:
parent
8c7ba69090
commit
1512899018
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue