Added filtering for jobs with no close date on search. RPS-58

This commit is contained in:
Patrick Fic
2020-11-25 11:11:36 -08:00
parent 5555365863
commit d1c654617d
3 changed files with 31 additions and 5 deletions

View File

@@ -44,11 +44,13 @@ export const SEARCH_JOBS_PAGINATED = gql`
$search: String
$startDate: date
$endDate: date
$closeDateIsNull: Boolean
) {
search_jobs(
offset: $offset
limit: $limit
args: { enddate: $endDate, search: $search, startdate: $startDate }
where: { close_date: { _is_null: $closeDateIsNull } }
) {
ownr_fn
ownr_ln