diff --git a/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module b/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module index 131b6a35..4ed5ab8d 100644 --- a/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module +++ b/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module @@ -290,7 +290,7 @@ class InputfieldPageAutocomplete extends Inputfield implements InputfieldHasArra if($this->parent_id) { if($selectorLength) { // if a selector was specified, AND a parent, then we'll use the parent as a root - $selector .= 'has_parent=' . (int) $this->parent_id; + $selector .= ',has_parent=' . (int) $this->parent_id; } else { // otherwise matches must be direct children of the parent $selector = 'parent_id=' . (int) $this->parent_id;