1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00
This commit is contained in:
Ryan Cramer
2023-09-29 16:34:11 -04:00
parent 390ad61ce3
commit 3ff60a289c

View File

@@ -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;