Problem description: The same SORT and SORTORDER profile keys are used both for host/template graphs and for graph prototypes. As result changing the sorting condition for graphs also changes the sorting of graph protyptes.
Steps to reproduce:
- Navigate to Configuration => Hosts/Templates => host/template => Graphs
- Change sorting of graphs in the opened view (for example sort ascending by graph type)
- Open graph prototypes that belong to any LLD rule and check the sorting in this view
Because the same SORT ans SORTORDER profile keys are used both for graphs and for graph prototypes, changes in sorting of graphs will also be applied to graph prototypes view
Graphs and Graph prototypes lists are different types of entries, therefore, changing the sorting condition in the list of graphs should not affect the sorting condition of graph prototypes