diff --git a/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts b/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts
index 0af56cc6..b59d8792 100644
--- a/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts
+++ b/portal-2/src/app/searchPages/searchUtils/advancedSearchForm.component.ts
@@ -15,11 +15,11 @@ import {Dates} from '../../utils/string-utils.class';
Search for: |
|
- |
+ |
|
|
-
+ |
|
|
-
-
-
-
-
-
-
-
@@ -88,7 +66,6 @@ import {Dates} from '../../utils/string-utils.class';
`
})
-///[style.width]="'120px'"
export class AdvancedSearchFormComponent {
@Input() entityType;
@Input() fieldIds: string[];
@@ -148,9 +125,8 @@ export class AdvancedSearchFormComponent {
this.selectedFields[index].valid = Dates.isValidYear(value);
}
- fieldIdsChanged(index: number,id) {
- console.info('changed: index'+index+" id :"+id);
- this.selectedFields[index].id = id;
+ fieldIdsChanged(index: number) {
+ var id =this.selectedFields[index].id;
this.selectedFields[index].name = this.fieldIdsMap[id].name;
this.selectedFields[index].type = this.fieldIdsMap[id].type;
this.selectedFields[index].value = "";
@@ -158,8 +134,6 @@ export class AdvancedSearchFormComponent {
if(this.fieldIdsMap[id].type == "boolean"){
this.selectedFields[index].value = "true";
}
- console.info('changed:' +this.selectedFields[index].name+" "+this.selectedFields[index].type+" "+ this.selectedFields[index].param );
-
}
valueChanged($event,index:number){
this.selectedFields[index].value = $event.value;