Skip to content
Snippets Groups Projects
Commit a99e63c3 authored by srosse's avatar srosse
Browse files

OO-980: sort the catalog list

parent 3958caba
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,8 @@ public class CatalogManager extends BasicManager implements UserDataDeletable, I ...@@ -183,7 +183,8 @@ public class CatalogManager extends BasicManager implements UserDataDeletable, I
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("select cei from ").append(CatalogEntryImpl.class.getName()).append(" as cei ") sb.append("select cei from ").append(CatalogEntryImpl.class.getName()).append(" as cei ")
.append(" inner join fetch cei.ownerGroup as ownerGroup") .append(" inner join fetch cei.ownerGroup as ownerGroup")
.append(" where cei.type=").append(CatalogEntry.TYPE_NODE); .append(" where cei.type=").append(CatalogEntry.TYPE_NODE)
.append(" order by cei.name");
return dbInstance.getCurrentEntityManager() return dbInstance.getCurrentEntityManager()
.createQuery(sb.toString(), CatalogEntry.class) .createQuery(sb.toString(), CatalogEntry.class)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment