Merge pull request #41771 from nextcloud/always-emit-search-event

Always emit search event
pull/41911/head
Andy Scherzinger 6 months ago committed by GitHub
commit 82f0619df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -255,9 +255,8 @@ export default {
this.searching = false
return
}
if (this.supportFiltering()) {
emit('nextcloud:unified-search.search', { query })
}
// Event should probably be refactored at some point to used nextcloud:global-search.search
emit('nextcloud:unified-search.search', { query })
const newResults = []
const providersToSearch = this.filteredProviders.length > 0 ? this.filteredProviders : this.providers
const searchProvider = (provider, filters) => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save