This commit is contained in:
Peter Maquiran
2023-08-03 11:58:33 +01:00
parent 9ca9ee9245
commit 834840fc41
2 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -111,12 +111,12 @@ export class SearchPage implements OnInit {
if(this.type == null || this.type == undefined) {
if(this.currentPath == '/home/agenda') {
if(this.currentPath.includes('/home/agenda')) {
this.type = "Agenda"
} else if (this.currentPath =='/home/gabinete-digital') {
} else if (this.currentPath.includes('/home/gabinete-digital')) {
this.type = "AccoesPresidenciais & ArquivoDespachoElect"
} else if (this.currentPath == '/home/publications') {
} else if (this.currentPath.includes('/home/publications')) {
this.type = "AccoesPresidenciais"
} else {
@@ -501,7 +501,7 @@ export class SearchPage implements OnInit {
}
});
this.search.basicSearch(this.searchSubject, searchDocumentDate, this.searchSender
this.search.searchForDoc(this.searchSubject, searchDocumentDate, this.searchSender
,this.searchOrganicEntiry, this.searchDocTypeId, '361').subscribe(res => {
res.Categories.forEach( e => {