Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

fix(filters): add sorting by ABC for groupings and range system and custom security groups #834

Merged
merged 3 commits into from
Dec 27, 2017

Conversation

dariashka
Copy link
Contributor

@dariashka dariashka commented Dec 21, 2017

No description provided.

@dariashka dariashka requested a review from zolotyx December 21, 2017 09:59
@@ -40,7 +36,7 @@ export class GroupedListComponent implements OnChanges {
name: groupings[this.level].name(groups[gn][0]),
items: groups[gn]
};
});
}).sort((group1, group2) => group1.name.localeCompare(group2.name));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a protected method sortGroup and override it instead of updateTree

@dariashka dariashka requested a review from zolotyx December 22, 2017 04:12
@dariashka dariashka changed the title fix(filters) add sorting by ABC for groupings and range system and custom security groups fix(filters): add sorting by ABC for groupings and range system and custom security groups Dec 22, 2017
@zolotyx zolotyx assigned dariashka and unassigned zolotyx Dec 22, 2017
@dariashka dariashka force-pushed the 826-group-by-sort-bug branch from b39e674 to 9591633 Compare December 27, 2017 09:49
@dariashka dariashka merged commit 7cc22f5 into bwsw:master Dec 27, 2017
@dariashka dariashka deleted the 826-group-by-sort-bug branch December 27, 2017 09:50
dariashka pushed a commit to dariashka/cloudstack-ui that referenced this pull request Dec 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants