Skip to content

Commit

Permalink
Add appId to unified search add filter event object
Browse files Browse the repository at this point in the history
Due the need to group filters by app, in the core, it's neccesary that filters,
 it's neccesary that plugin filters come with a field that helps identify the app
 that sent in the filter.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
nfebe committed Feb 28, 2024
1 parent 6678d24 commit b83a011
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ import '@nextcloud/dialogs/style.css'

emit('nextcloud:unified-search:add-filter', {
id: 'talk-message',
appId: 'spreed',
payload: conversation,
filterUpdateText: t('spreed', 'Search in conversation: {conversation}', { conversation: conversation.displayName }),
filterParams: { conversation: conversation.token }
Expand Down

0 comments on commit b83a011

Please sign in to comment.