projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #18430 from eileenmcnaughton/open
[civicrm-core.git]
/
Civi
/
Api4
/
Query
/
Api4SelectQuery.php
diff --git
a/Civi/Api4/Query/Api4SelectQuery.php
b/Civi/Api4/Query/Api4SelectQuery.php
index e4f8ceb187fcd6d37715c9b92cbb2cee4d403d77..009095ebc91d3e150027b5c5e19a20041e98c75b 100644
(file)
--- a/
Civi/Api4/Query/Api4SelectQuery.php
+++ b/
Civi/Api4/Query/Api4SelectQuery.php
@@
-275,7
+275,7
@@
class Api4SelectQuery {
$suffix = strstr($item, ':');
if ($suffix && $expr->getType() === 'SqlField') {
$field = $this->getField($item);
$suffix = strstr($item, ':');
if ($suffix && $expr->getType() === 'SqlField') {
$field = $this->getField($item);
- $options = FormattingUtil::getPseudoconstantList($field
['entity'], $field['name']
, substr($suffix, 1));
+ $options = FormattingUtil::getPseudoconstantList($field, substr($suffix, 1));
if ($options) {
asort($options);
$column = "FIELD($column,'" . implode("','", array_keys($options)) . "')";
if ($options) {
asort($options);
$column = "FIELD($column,'" . implode("','", array_keys($options)) . "')";