1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 00:06:55 +02:00
This commit is contained in:
Ryan Cramer
2019-12-06 14:02:04 -05:00
parent 8e91a05fd1
commit f95fa3e3a3

View File

@@ -361,7 +361,7 @@ class ProcessPageSearch extends Process implements ConfigurableModule {
if(strpos($name, ',')) {
$name = $sanitizer->names($name, ',', array('_', '.'));
} else {
$name = $sanitizer->pageName($name); // note: switch to pageName over fieldName to support "."
$name = $sanitizer->fieldSubfield($name, 2);
}
if(!$name) continue;