Skip to content

Commit 5eb4f34

Browse files
authored
Merge pull request #508 from codex-team/chore-enable-search-by-addons-field
feat(search): enable search by addons field
2 parents fa47937 + 9daf8d0 commit 5eb4f34

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hawk.api",
3-
"version": "1.1.27",
3+
"version": "1.1.28",
44
"main": "index.ts",
55
"license": "UNLICENSED",
66
"scripts": {

src/models/eventsFactory.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,12 @@ class EventsFactory extends Factory {
221221
$options: 'i',
222222
},
223223
},
224+
{
225+
'event.payload.addons': {
226+
$regex: escapedSearch,
227+
$options: 'i',
228+
},
229+
},
224230
],
225231
}
226232
: {};

0 commit comments

Comments
 (0)