subjects page: add sort function for subjects before grouping
This commit is contained in:
parent
23d65d08d7
commit
406ffb4dd3
|
@ -148,6 +148,7 @@ export class SubjectsComponent {
|
||||||
//this.getDivContents();
|
//this.getDivContents();
|
||||||
this.getPageContents();
|
this.getPageContents();
|
||||||
this.subjects = community.subjects;
|
this.subjects = community.subjects;
|
||||||
|
this.subjects.sort();
|
||||||
this.groupSubjects();
|
this.groupSubjects();
|
||||||
this.showLoading = false;
|
this.showLoading = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue