Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/15 11:07:36 (9 years ago)
Author:
pfleck
Message:

#2025 Added a Priority for the CreatableAttribute to manually define an ordering for the NewItemDialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NewItemDialog/HeuristicLab.Optimizer/3.3/NewItemDialog.cs

    r12239 r12246  
    6767        let category = CreatableAttribute.GetCategory(type)
    6868        let name = ItemAttribute.GetName(type)
     69        let priority = CreatableAttribute.GetPriority(type)
    6970        let version = ItemAttribute.GetVersion(type)
    7071        where CreatableAttribute.IsCreatable(type)
    71         orderby category, name, version ascending
     72        orderby category, priority, name, version ascending
    7273        group type by category into categoryGroup
    7374        select categoryGroup;
Note: See TracChangeset for help on using the changeset viewer.