diff --git a/api/src/hooks.js b/api/src/hooks.js index a9f76d25..36d81797 100644 --- a/api/src/hooks.js +++ b/api/src/hooks.js @@ -1,5 +1,4 @@ // Application hooks that run for every service -import fuzzySearch from 'feathers-mongodb-fuzzy-search' import commonHooks from 'feathers-hooks-common' import { permissions as corePermissions, hooks as coreHooks } from '@kalisio/kdk/core.api.js' import * as permissions from '../../common/permissions.mjs' @@ -29,7 +28,7 @@ export default { }, authenticate('jwt')), coreHooks.processObjectIDs, coreHooks.authorise], - find: [fuzzySearch({ fields: ['name'] }), coreHooks.marshallCollationQuery], + find: [coreHooks.marshallCollationQuery], get: [], create: [], // We only use pacth in editors to avoid dumping "hidden" (ie internal) properties diff --git a/api/yarn.lock b/api/yarn.lock index 1790bb2e..d4322b1b 100644 --- a/api/yarn.lock +++ b/api/yarn.lock @@ -96,12 +96,7 @@ long-timeout "^0.1.1" uuid "^9.0.0" -"@feathersjs/commons@^4.3.7": - version "4.5.15" - resolved "https://registry.yarnpkg.com/@feathersjs/commons/-/commons-4.5.15.tgz#2f9c2599fd93607206ee40ab0e5639b79c7781b8" - integrity sha512-eVEcLJL3GcPQBQcD77jI3fZ4MMx+iD02Px2Z1lDw+cn/iGCeQkWWAPQs4Tp+HGR1rTL5JO+unyhzN8V9X7OYmw== - -"@feathersjs/commons@^4.5.11", "@feathersjs/commons@^4.5.16": +"@feathersjs/commons@^4.3.7", "@feathersjs/commons@^4.5.11", "@feathersjs/commons@^4.5.16": version "4.5.16" resolved "https://registry.yarnpkg.com/@feathersjs/commons/-/commons-4.5.16.tgz#878311fe316459642ba53399e0758efa021ed351" integrity sha512-FXKAcGApcd9w3M42gjLi8+oaPijabS8qbD4ynQK3PM8J7BqpbSdCzURsI7EpReoQxFxdhrR4jix8cQIC/iAeuw== @@ -112,9 +107,9 @@ integrity sha512-Xq8R6xD2rIWBCP32+VFX9caldveXqSNDLDNZS5OaKaqyYeIAeXtcjEz4no7jtuUqzxqFOTn/Ub2FqHhncI15Vg== "@feathersjs/errors@^4.3.10": - version "4.5.15" - resolved "https://registry.yarnpkg.com/@feathersjs/errors/-/errors-4.5.15.tgz#ec371ca9905685e33f41e331975182f36241d1bd" - integrity sha512-EJAYWMsWZlUA/halbgZBc6eP2d3HPkHi5GzprYEK58GCh51KJ36VjX7VKVEnMjgBSED+PE00tpr3ZvUC4nUR+Q== + version "4.5.17" + resolved "https://registry.yarnpkg.com/@feathersjs/errors/-/errors-4.5.17.tgz#be22c87989da8df9e96d5d1c693d14b1e142f19e" + integrity sha512-HY1YJV/9d5wKd3RPNaWggOhAX4NmOulr5EvBMMm6jaMizJ7UMRUgZmqyRtuHL4h+u2LoLmWv9+wO3V+uCFoULg== dependencies: debug "^4.3.3" diff --git a/config/default.js b/config/default.js index e4b4dadd..8be463d4 100644 --- a/config/default.js +++ b/config/default.js @@ -377,7 +377,7 @@ module.exports = { left: LeftPane, top: { content: [ - { id: 'layout', icon: 'las la-icons', label: 'Messages.LABEL', color: 'primary', disabled: true } + { component: 'collection/KFilter', label: 'MessagesActivity.SEARCH', fields: ['body', 'author'], style: 'width: 50vw; min-width: 180px; max-width: 500px;' }, ] }, bottom: { diff --git a/src/components/messages/Composer.vue b/src/components/messages/Composer.vue index 96224775..8b6dbfbf 100644 --- a/src/components/messages/Composer.vue +++ b/src/components/messages/Composer.vue @@ -1,7 +1,7 @@