Skip to content

Commit

Permalink
fix for pg
Browse files Browse the repository at this point in the history
  • Loading branch information
yurikuzn committed Apr 17, 2024
1 parent 8d683b0 commit d1373d5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getActivitiesMeetingQuery(Entity $entity, array $statusList): Se
'parentId',
'status',
'createdAt',
['""', 'hasAttachment'],
['false', 'hasAttachment'],
])
->where([
'OR' => [
Expand Down Expand Up @@ -122,16 +122,16 @@ public function getActivitiesCallQuery(Entity $entity, array $statusList): Selec
'name',
['dateStart', 'dateStart'],
['dateEnd', 'dateEnd'],
['""', 'dateStartDate'],
['""', 'dateEndDate'],
['null', 'dateStartDate'],
['null', 'dateEndDate'],
['"Call"', '_scope'],
'assignedUserId',
'assignedUserName',
'parentType',
'parentId',
'status',
'createdAt',
['""', 'hasAttachment'],
['false', 'hasAttachment'],
])
->where([
'OR' => [
Expand Down Expand Up @@ -174,9 +174,9 @@ public function getActivitiesEmailQuery(Entity $entity, array $statusList): Sele
'id',
'name',
['dateSent', 'dateStart'],
['""', 'dateEnd'],
['""', 'dateStartDate'],
['""', 'dateEndDate'],
['null', 'dateEnd'],
['null', 'dateStartDate'],
['null', 'dateEndDate'],
['"Email"', '_scope'],
'assignedUserId',
'assignedUserName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getActivitiesMeetingQuery(Entity $entity, array $statusList): Se
'parentId',
'status',
'createdAt',
['""', 'hasAttachment'],
['false', 'hasAttachment'],
])
->where([
'OR' => [
Expand Down Expand Up @@ -117,16 +117,16 @@ public function getActivitiesCallQuery(Entity $entity, array $statusList): Selec
'name',
['dateStart', 'dateStart'],
['dateEnd', 'dateEnd'],
['""', 'dateStartDate'],
['""', 'dateEndDate'],
['null', 'dateStartDate'],
['null', 'dateEndDate'],
['"Call"', '_scope'],
'assignedUserId',
'assignedUserName',
'parentType',
'parentId',
'status',
'createdAt',
['""', 'hasAttachment'],
['false', 'hasAttachment'],
])
->where([
'OR' => [
Expand Down Expand Up @@ -169,9 +169,9 @@ public function getActivitiesEmailQuery(Entity $entity, array $statusList): Sele
'id',
'name',
['dateSent', 'dateStart'],
['""', 'dateEnd'],
['""', 'dateStartDate'],
['""', 'dateEndDate'],
['null', 'dateEnd'],
['null', 'dateStartDate'],
['null', 'dateEndDate'],
['"Email"', '_scope'],
'assignedUserId',
'assignedUserName',
Expand Down

0 comments on commit d1373d5

Please sign in to comment.