mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Query param support in TreeMultiselectField (fixes #2438)
Thanks to @bummzack for the initial fix
This commit is contained in:
parent
37ada61282
commit
837304b81b
@ -119,7 +119,7 @@ class TreeMultiselectField extends TreeDropdownField {
|
||||
if ($this->form){
|
||||
$dataUrlTree = $this->Link('tree');
|
||||
if (isset($idArray) && count($idArray)){
|
||||
$dataUrlTree .= '?forceValue='.implode(',',$idArray);
|
||||
$dataUrlTree = Controller::join_links($dataUrlTree, '?forceValue='.implode(',',$idArray));
|
||||
}
|
||||
}
|
||||
return FormField::create_tag(
|
||||
|
Loading…
Reference in New Issue
Block a user