in entity-browser-frontend/app/controller/search.js [25:40]
searchCtrl.deleteSearchResult = function () {
var locationTypeId = searchCtrl.selectedType.id;
types.search(currentDatabase.get(), locationTypeId, searchCtrl.searchQuery).then(function (result) {
confirmation({
label: 'You are going to delete "' + result.totalCount + '" entities',
message: 'Are you sure to proceed?',
action: 'Proceed'
}, function () {
types.bulkDelete(currentDatabase.get(), locationTypeId, searchCtrl.searchQuery)
.catch(alert.showHttpError)
.then(function () {
searchCtrl.onSearch();
});
});
})
};