Skip to content

Commit

Permalink
Monitoring/CustomVarRenderer: Cast data field setting value data_list…
Browse files Browse the repository at this point in the history
…_id to integer
  • Loading branch information
raviks789 committed Aug 28, 2024
1 parent d22c69f commit 978aef6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function prefetchForObject(MonitoredObject $object)
]
)->join(
['dde' => 'director_datalist_entry'],
'dds.setting_value = dde.list_id',
'CAST(dds.setting_value AS INTEGER) = dde.list_id',
[]
)->where('dds.datafield_id', array_keys($fieldsWithDataLists))
->where('dds.setting_name', 'datalist_id');
Expand Down

0 comments on commit 978aef6

Please sign in to comment.