Issue Bug Closed

#99382###SITE:xyz### placeholder in foreign_table_where doesn't work with foreign_selector

David Blatter 12/15/22, 21:34 updated 02/08/23, 16:06

Description

I have a column with a SITE: placeholder inside a foreign_table_where. like so:

'config' => [
   'type' => 'select',
   ...
   'foreign_table' => 'mytable',
   'foreign_table_where' => '{#mytable}.{#myfield} = \'###SITE.settings.key###\'',
],

So far that works fine. However if I use this column as ‘foreign_selector’ in an IRRE, the placeholder is not replaced correctly.

Reviews 2