Skip to content
Snippets Groups Projects
Commit ade4f07b authored by aboeckle's avatar aboeckle
Browse files

OO-4454 Fixed subcategory ordering

parent 471a5901
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,7 @@ public interface CatalogEntry extends CatalogEntryRef, CreateInfo, Persistable,
public enum OrderBy {
name,
position
}
public enum Style {
......
......@@ -151,7 +151,7 @@ public class CatalogManager implements UserDataDeletable, InitializingBean {
* @return List of catalog entries that are childern entries of given entry
*/
public List<CatalogEntry> getChildrenOf(CatalogEntry ce) {
return getChildrenOf(ce, 0, -1, CatalogEntry.OrderBy.name, true);
return getChildrenOf(ce, 0, -1, CatalogEntry.OrderBy.position, true);
}
/**
......
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