mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-7941 Sorting table by property-path-column leads to not all data loaded
This commit is contained in:
parent
9c74d6ac71
commit
6e11501d06
@ -999,10 +999,10 @@ public class QueryTransformerAstBasedTest {
|
|||||||
|
|
||||||
transformer = new QueryTransformerAstBased(model,
|
transformer = new QueryTransformerAstBased(model,
|
||||||
"select h from sec$GroupHierarchy h");
|
"select h from sec$GroupHierarchy h");
|
||||||
transformer.replaceOrderBy(false, "parent.group", "parent.name");
|
transformer.replaceOrderBy(false, "parent.group", "parent.createdBy");
|
||||||
res = transformer.getResult();
|
res = transformer.getResult();
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"select h from sec$GroupHierarchy h left join h.parent h_parent order by h_parent.group, h_parent.name",
|
"select h from sec$GroupHierarchy h left join h.parent h_parent order by h_parent.group, h_parent.createdBy",
|
||||||
res);
|
res);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user