mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
fix
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user