mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Improve search add search tags
This commit is contained in:
@@ -36,6 +36,8 @@ export class SearchPage implements OnInit {
|
||||
|
||||
showLoader: boolean;
|
||||
|
||||
currentPath: string
|
||||
|
||||
// See http://idangero.us/swiper/api/ for valid options.
|
||||
slideOpts = {
|
||||
slidesPerView: parseInt(`${window.innerWidth/147}`, 10),
|
||||
@@ -53,6 +55,8 @@ export class SearchPage implements OnInit {
|
||||
private search: SearchService,
|
||||
private modalCtrl: ModalController,) {
|
||||
this.ordinance = "recent";
|
||||
|
||||
this.currentPath= window.location.pathname;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
@@ -220,6 +224,7 @@ export class SearchPage implements OnInit {
|
||||
// bind respose
|
||||
|
||||
this.sortArrayISODate(res.Documents).forEach(e => {
|
||||
e['appName'] = 'Correspondencia'
|
||||
this.searchDocuments.push(e)
|
||||
});
|
||||
|
||||
@@ -245,6 +250,7 @@ export class SearchPage implements OnInit {
|
||||
|
||||
|
||||
this.sortArrayISODate(res.Documents).forEach(e => {
|
||||
e['appName'] = 'ArquivoDespachoElect'
|
||||
this.searchDocuments.push(e)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user