mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 02:04:35 +02:00
Fix issue processwire/processwire-issues#1821
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user