sort pacs and users
This commit is contained in:
parent
f44fe4a00f
commit
885ece0522
@ -143,7 +143,7 @@ public class JsonPillarServlet extends HttpServlet {
|
|||||||
writer.println(" }");
|
writer.println(" }");
|
||||||
}
|
}
|
||||||
writer.println(" ]");
|
writer.println(" ]");
|
||||||
final Query domsQuery = em.createQuery("SELECT d FROM Domains d WHERE d.user.pac.hive.name = :hive");
|
final Query domsQuery = em.createQuery("SELECT d FROM Domains d WHERE d.user.pac.hive.name = :hive ORDER BY d.name");
|
||||||
domsQuery.setParameter("hive", hiveName);
|
domsQuery.setParameter("hive", hiveName);
|
||||||
final List<?> domsResult = domsQuery.getResultList();
|
final List<?> domsResult = domsQuery.getResultList();
|
||||||
writer.println(" , \"doms\": [");
|
writer.println(" , \"doms\": [");
|
||||||
|
Loading…
Reference in New Issue
Block a user