[search] Redraw the result grid when toggling all the fields
@@ -3603,8 +3603,13 @@ $(document).ready(function () {
});
- function toggleGridFieldsSelection(widget) {
+ function toggleGridFieldsSelection(widget) {console.log();
+ if (widget.widgetType() == 'resultset-widget') {
+ viewModel.resultsHash = '';
+ } else {
widget.resultsHash = '';
+ }
+
if (widget.template.fields().length > 0) {
widget.template.fieldsSelected.removeAll();
}
