added groupby.order property
This commit is contained in:
parent
5af80ba48b
commit
c379daf45c
1 changed files with 8 additions and 1 deletions
|
@ -32,6 +32,7 @@ public class Relation {
|
||||||
public boolean aggressiveCaching;
|
public boolean aggressiveCaching;
|
||||||
public boolean subnodesAreProperties;
|
public boolean subnodesAreProperties;
|
||||||
public String order;
|
public String order;
|
||||||
|
public String groupbyorder;
|
||||||
public String groupby;
|
public String groupby;
|
||||||
public String prototype;
|
public String prototype;
|
||||||
|
|
||||||
|
@ -144,7 +145,13 @@ public class Relation {
|
||||||
if (order != null && order.trim().length() == 0) order = null;
|
if (order != null && order.trim().length() == 0) order = null;
|
||||||
// get group by property
|
// get group by property
|
||||||
groupby = props.getProperty (propname+".groupby");
|
groupby = props.getProperty (propname+".groupby");
|
||||||
if (groupby != null && groupby.trim().length() == 0) groupby = null;
|
if (groupby != null && groupby.trim().length() == 0)
|
||||||
|
groupby = null;
|
||||||
|
if (groupby != null) {
|
||||||
|
groupbyorder = props.getProperty (propname+".groupby.order");
|
||||||
|
if (groupbyorder != null && groupbyorder.trim().length() == 0)
|
||||||
|
groupbyorder = null;
|
||||||
|
}
|
||||||
// check if subnode condition should be applied for property relations
|
// check if subnode condition should be applied for property relations
|
||||||
if ("_properties".equalsIgnoreCase (propname) || virtual) {
|
if ("_properties".equalsIgnoreCase (propname) || virtual) {
|
||||||
String subnodes2props = props.getProperty (propname+".aresubnodes");
|
String subnodes2props = props.getProperty (propname+".aresubnodes");
|
||||||
|
|
Loading…
Add table
Reference in a new issue