1004000 Performance issue with product info form. Minor fix for checking of empty order by clause.
This commit is contained in:
parent
d4927621f1
commit
03f22d1ca4
|
@ -435,7 +435,7 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
|||
//
|
||||
m_sqlOrder = "";
|
||||
// m_sqlUserOrder = "";
|
||||
if (orderBy != null && orderBy.length() > 0)
|
||||
if (orderBy != null && orderBy.trim().length() > 0)
|
||||
m_sqlOrder = " ORDER BY " + orderBy;
|
||||
} // prepareTable
|
||||
|
||||
|
|
Loading…
Reference in New Issue