In neither of these. I have added
// Set
$field->value = $value;
on line 533 and 534 of select_dynamic.php in \plugins\cck_field\select_dynamic. This is for version 3.17.1 (Seblod 3.17.1) If you use another version look in select_dynamic.php and find function onCCK_FieldPrepareSearch. Add the lines just before //Return like this:
// onCCK_FieldPrepareSearch
public function onCCK_FieldPrepareSearch( &$field, $value = '', &$config = array(), $inherit = array(), $return = false )
{
if ( self::$type != $field->type ) {
return;
}
// Init
if ( $field->bool3 ) {
$divider = $field->match_value ? $field->match_value : $field->divider;
$field->match_value = $divider;
if ( is_array( $value ) ) {
$value = implode( $divider, $value );
}
$field->divider = $divider;
} else {
$field->match_value = $field->match_value ? $field->match_value : ',';
}
self::onCCK_FieldPrepareForm( $field, $value, $config, $inherit, $return );
// Set
$field->value = $value;
// Return
if ( $return === true ) {
return $field;
}
}