Merge branch 'developer-c' of https://bitbucket.org/equilibriumito/gabinete-digital into developer

This commit is contained in:
tiago.kayaya
2021-04-09 04:34:33 +01:00
4 changed files with 35 additions and 21 deletions
+8 -4
View File
@@ -211,12 +211,14 @@ export class SearchPage implements OnInit {
res.Categories.forEach( e => {
e['Active'] = false;
this.searchCategories.push(e)
});
// bind respose
this.searchCategories = res.Categories;
this.searchDocuments = this.sortArrayISODate(res.Documents);
this.sortArrayISODate(res.Documents).forEach(e => {
this.searchDocuments.push(e)
});
this.reorderList(this.ordinance);
@@ -236,12 +238,14 @@ export class SearchPage implements OnInit {
res.Categories.forEach( e => {
e['Active'] = false;
this.searchCategories.push(e)
});
// bind respose
this.searchCategories = res.Categories;
this.searchDocuments = this.sortArrayISODate(res.Documents);
this.sortArrayISODate(res.Documents).forEach(e => {
this.searchDocuments.push(e)
});
this.reorderList(this.ordinance);