mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 03:34:33 +02:00
Update PageFinder to allow partial text matching in default language page paths in multi-language environment
This commit is contained in:
@@ -2560,8 +2560,7 @@ class PageFinder extends Wire {
|
|||||||
$langNames = null;
|
$langNames = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($modules->isInstalled('PagePaths') && !$langNames) {
|
if($modules->isInstalled('PagePaths')) {
|
||||||
// @todo add support to PagePaths module for LanguageSupportPageNames
|
|
||||||
$pagePaths = $modules->get('PagePaths');
|
$pagePaths = $modules->get('PagePaths');
|
||||||
/** @var PagePaths $pagePaths */
|
/** @var PagePaths $pagePaths */
|
||||||
$pagePaths->getMatchQuery($query, $selector);
|
$pagePaths->getMatchQuery($query, $selector);
|
||||||
|
Reference in New Issue
Block a user