Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hawk.api",
"version": "1.2.24",
"version": "1.2.25",
"main": "index.ts",
"license": "BUSL-1.1",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions src/models/eventsFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ class EventsFactory extends Factory {
const searchFilter = search.trim().length > 0
? {
$or: [
{
'repetition.delta': {
$regex: escapedSearch,
$options: 'i',
},
},
{
'event.payload.title': {
$regex: escapedSearch,
Expand Down