core/domain/services/graphql/connection_resolvers/AttendeeConnectionResolver.php 1 location
|
@@ 99-106 (lines=8) @@
|
| 96 |
|
* Collect the input_fields and sanitize them to prepare them for sending to the Query |
| 97 |
|
*/ |
| 98 |
|
$input_fields = []; |
| 99 |
|
if (! empty($this->args['where'])) { |
| 100 |
|
$input_fields = $this->sanitizeInputFields($this->args['where']); |
| 101 |
|
|
| 102 |
|
// Use the proper operator. |
| 103 |
|
if (! empty($input_fields['Registration.Ticket.TKT_ID']) && is_array($input_fields['Registration.Ticket.TKT_ID'])) { |
| 104 |
|
$input_fields['Registration.Ticket.TKT_ID'] = ['in', $input_fields['Registration.Ticket.TKT_ID']]; |
| 105 |
|
} |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
/** |
| 109 |
|
* Merge the input_fields with the default query_args |
core/domain/services/graphql/connection_resolvers/TicketConnectionResolver.php 1 location
|
@@ 100-107 (lines=8) @@
|
| 97 |
|
* Collect the input_fields and sanitize them to prepare them for sending to the Query |
| 98 |
|
*/ |
| 99 |
|
$input_fields = []; |
| 100 |
|
if (! empty($this->args['where'])) { |
| 101 |
|
$input_fields = $this->sanitizeInputFields($this->args['where']); |
| 102 |
|
|
| 103 |
|
// Use the proper operator. |
| 104 |
|
if (! empty($input_fields['Datetime.DTT_ID']) && is_array($input_fields['Datetime.DTT_ID'])) { |
| 105 |
|
$input_fields['Datetime.DTT_ID'] = ['in', $input_fields['Datetime.DTT_ID']]; |
| 106 |
|
} |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
/** |
| 110 |
|
* Determine where we're at in the Graph and adjust the query context appropriately. |