mirror of
https://github.com/processwire/processwire.git
synced 2025-08-22 22:34:15 +02:00
Fix issue processwire/processwire-issues#659 where PageFinder "_custom" option didn't yet have support for "field.owner.property=value" selectors
This commit is contained in:
@@ -522,6 +522,7 @@ class PageFinder extends Wire {
|
||||
$selectors->remove($selector);
|
||||
if(!empty($options['allowCustom'])) {
|
||||
$_selectors = $this->wire(new Selectors($selector->value()));
|
||||
$this->preProcessSelectors($_selectors, $options);
|
||||
/** @var Selectors $_selectors */
|
||||
foreach($_selectors as $s) $selectors->add($s);
|
||||
}
|
||||
|
Reference in New Issue
Block a user