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.type == null || this.type == undefined) {
if(this.currentPath == '/home/agenda') { if(this.currentPath.includes('/home/agenda')) {
this.type = "Agenda" this.type = "Agenda"
} else if (this.currentPath =='/home/gabinete-digital') { } else if (this.currentPath.includes('/home/gabinete-digital')) {
this.type = "AccoesPresidenciais & ArquivoDespachoElect" this.type = "AccoesPresidenciais & ArquivoDespachoElect"
} else if (this.currentPath == '/home/publications') { } else if (this.currentPath.includes('/home/publications')) {
this.type = "AccoesPresidenciais" this.type = "AccoesPresidenciais"
} else { } 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 => { ,this.searchOrganicEntiry, this.searchDocTypeId, '361').subscribe(res => {
res.Categories.forEach( e => { res.Categories.forEach( e => {
+6 -6
View File
@@ -1,12 +1,12 @@
export let versionData = { export let versionData = {
"shortSHA": "535c70f5b", "shortSHA": "9ca9ee924",
"SHA": "535c70f5bb4488668145b9c2eda3a2fa4dcc39f9", "SHA": "9ca9ee9245995d13e91238105d16263c5102923a",
"branch": "developer", "branch": "developer",
"lastCommitAuthor": "'Peter Maquiran'", "lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Mon Jul 31 16:34:12 2023 +0100'", "lastCommitTime": "'Thu Aug 3 11:37:35 2023 +0100'",
"lastCommitMessage": "fix", "lastCommitMessage": "fix f",
"lastCommitNumber": "5125", "lastCommitNumber": "5126",
"change": "", "change": "",
"changeStatus": "On branch developer\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/home/home.page.html\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.html\n\tmodified: src/app/pages/login/login.page.html\n\tmodified: src/app/pages/login/login.page.ts\n\tmodified: src/app/pages/search/search.page.ts\n\tmodified: src/app/shared/gabinete-digital/despachos/despachos.page.html", "changeStatus": "On branch developer\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/search/search.page.ts",
"changeAuthor": "peter.maquiran" "changeAuthor": "peter.maquiran"
} }