Bug #7059
closedUser story #2881: Allow user to choose order of Directive application in a Rule
In UI, directives in a rule are not sorted as their bundle order
Description
In the UI, in the rules screen or node screen, rules are not sorted accordingly to the bundle ordre.
More precisely, there is 3 places where rules and directives must be correctly sorted:
- in node details, in report tab: display first all system rules, then rules sorted by name, and for them, directives sorted by name
- in rules, in the list, do not show system rules, and sort user rules by name
- in rule details, sort directive by name in the green zone where enabled directive are listed.
Updated by François ARMAND over 9 years ago
- Subject changed from In UI, Rules and directives in rules are not sorted as their bundle order to In UI, directives in a rule are not sorted as their bundle order
OK, so in fact:
- in rules array, the rules are already sorted alpha-num,
- in rule details, we have to sort directive,
- and in node details, we can't really sort in a meaning full way the list of rules.
For the last case, what would make sense would be to have two tables, one for use rules (sorted alpha-num), and one for system rules (also sorted).
So this ticket only take care of sorting directive in a rule.
Updated by François ARMAND over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/906
Updated by François ARMAND over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|48b580288a224cf79ae051c3ce6801fb91998980.
Updated by Nicolas CHARLES over 9 years ago
Applied in changeset rudder|bfd852a59202f24cdbe5847e71fa238bfc0e13b3.
Updated by François ARMAND over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.1 which was released today.
- Announcement 3.1
- Changelog 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/