Commits (1)
......@@ -42,13 +42,7 @@ SourceSelection.prototype.handleSelection = function() {
});
}
this.renderDatasourceList();
if (search!==undefined && search.search!==undefined) {
if ($("#expression").length>0) {
let queryString = $("#expression").val();
if (queryString==null || queryString=="") {
$("#expression").val("*");
}
}
if (search!==undefined && search.search!==undefined) {
search.search();
}
};
......@@ -212,4 +206,15 @@ SourceSelection.prototype.handleSelectionDialogAccepted = function() {
});
this.setSelectedSourceIds(allSelected ? [] : selectedDatasources);
};
\ No newline at end of file
};
SourceSelection.prototype.searchSelectedSourceIds = function(selectedSourceIds) {
if ($("#expression").length>0) {
let queryString = $("#expression").val();
if (queryString==null || queryString=="") {
$("#expression").val("*");
}
}
this.setSelectedSourceIds(selectedSourceIds);
};