Skip to content

Commit

Permalink
[ci:force] revert app config
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrn committed Jun 10, 2021
1 parent 1a9787f commit 9a8650c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
3 changes: 1 addition & 2 deletions demo-shell/resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@
}
},
"SEARCH_FORMS": {
"ALL": "All",
"RECORD_MANAGEMENT": "Record Management"
"ALL": "All"
}
}
7 changes: 4 additions & 3 deletions demo-shell/src/app.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"copyright": "© 2016 - 2021 Alfresco Software, Inc. All Rights Reserved."
},
"notifications": true,
"search": {
"search": [{
"filterWithContains": true,
"app:fields": [
"cm:name",
Expand Down Expand Up @@ -366,8 +366,9 @@
}
]
},
"name": "SEARCH_FORMS.ALL"
},
"name": "SEARCH_FORMS.ALL",
"default": true
}],
"search-headers": {
"filterWithContains": true,
"app:fields": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ export class SearchRadioComponent implements SearchWidget, OnInit {
const initialValue = this.getSelectedValue();

if (initialValue !== null) {
this.setValue(initialValue);
this.value = initialValue;
this.context.queryFragments[this.id] = initialValue;
} else if (this.startValue !== null) {
this.setValue(initialValue);
this.value = initialValue;
this.context.queryFragments[this.id] = initialValue;
}
}

Expand Down

0 comments on commit 9a8650c

Please sign in to comment.