No curated claims found.
-
-
+
@@ -66,6 +68,8 @@ import { Meta} from '../../../angular2-meta';
+
+
`
})
export class SearchPageComponent {
@@ -94,6 +98,11 @@ export class SearchPageComponent {
public urlParam: string;
public parameterNames:string[] =[];
public parameterValues:string[] =[];
+
+ @ViewChild (SearchFilterModalComponent) searchFilterModal : SearchFilterModalComponent ;
+ public currentFilter: Filter;
+
+
constructor (private location: Location , private _meta: Meta) {
}
@@ -107,6 +116,12 @@ export class SearchPageComponent {
ngAfterViewChecked(){
}
+
+ toggleModal($event) {
+ this.currentFilter = $event.value;
+ this.searchFilterModal.open();
+ }
+
updateDescription(description:string){
this._meta.updateMeta("description", description);
this._meta.updateMeta("og:description", description);
@@ -443,6 +458,7 @@ export class SearchPageComponent {
}
filterChanged($event){
+ console.info("filter Changed");
this.goTo(1);
}
keywordChanged($event) {
diff --git a/portal-2/src/app/searchPages/searchUtils/searchPage.module.ts b/portal-2/src/app/searchPages/searchUtils/searchPage.module.ts
index 93cd4f27..726d6565 100644
--- a/portal-2/src/app/searchPages/searchUtils/searchPage.module.ts
+++ b/portal-2/src/app/searchPages/searchUtils/searchPage.module.ts
@@ -7,18 +7,22 @@ import{SearchPageComponent} from './searchPage.component';
import{SearchFormModule} from './searchForm.module';
import{SearchResultsModule} from './searchResults.module';
import{SearchFilterComponent} from './searchFilter.component';
+import{SearchFilterModalComponent} from './searchFilterModal.component';
import{LoadingModalModule} from '../../utils/modal/loadingModal.module';
import {ReportsServiceModule} from '../../services/reportsService.module';
import{SearchPagingModule} from './searchPaging.module';
import {SearchDownloadModule} from './searchDownload.module';
+import {ModalModule} from '../../utils/modal/modal.module';
+
@NgModule({
imports: [
- CommonModule, FormsModule,RouterModule, SearchFormModule, SearchResultsModule, LoadingModalModule, ReportsServiceModule, SearchPagingModule, SearchDownloadModule
+ CommonModule, FormsModule,RouterModule, SearchFormModule, SearchResultsModule, LoadingModalModule, ReportsServiceModule, SearchPagingModule, SearchDownloadModule, ModalModule
],
declarations: [
SearchPageComponent,
- SearchFilterComponent
+ SearchFilterComponent,
+ SearchFilterModalComponent
,
],
@@ -26,7 +30,7 @@ import {SearchDownloadModule} from './searchDownload.module';
],
exports: [
SearchPageComponent,
-SearchFilterComponent
+ SearchFilterComponent
]
})
export class SearchPageModule { }
diff --git a/portal-2/src/index.html b/portal-2/src/index.html
index f6c4d21d..ae44a4bf 100644
--- a/portal-2/src/index.html
+++ b/portal-2/src/index.html
@@ -142,7 +142,7 @@
}
.custom-dataTable-content {
- min-height: 1000px;
+ min-height: 600px;
}
.filterItem span {