Browse Source

CHANGE | Find matches in task description too when search tasks by globalSearchString | tasks.list.service.ts (#1)

Reviewed-on: #1
Co-authored-by: Oksana Stepanenko <oksana.stepanenko@jetup.team>
Co-committed-by: Oksana Stepanenko <oksana.stepanenko@jetup.team>
pull/2/head
Oksana Stepanenko 1 year ago committed by Vitalik Yatsenko
parent
commit
b4d6277658
  1. 3
      src/domain/tasks/services/tasks-list.service.ts

3
src/domain/tasks/services/tasks-list.service.ts

@ -132,6 +132,9 @@ export class TasksListService { @@ -132,6 +132,9 @@ export class TasksListService {
})
.orWhere('it.id::text ILIKE :globalSearchStr', {
globalSearchStr,
})
.orWhere('it.description ILIKE :globalSearchStr', {
globalSearchStr,
}),
),
)

Loading…
Cancel
Save