1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-15 11:14:12 +02:00

Update PageFinder to allow partial text matching in default language page paths in multi-language environment

This commit is contained in:
Ryan Cramer
2022-04-25 11:01:48 -04:00
parent 662cf5eee5
commit 6001475a3c

View File

@@ -2560,8 +2560,7 @@ class PageFinder extends Wire {
$langNames = null;
}
if($modules->isInstalled('PagePaths') && !$langNames) {
// @todo add support to PagePaths module for LanguageSupportPageNames
if($modules->isInstalled('PagePaths')) {
$pagePaths = $modules->get('PagePaths');
/** @var PagePaths $pagePaths */
$pagePaths->getMatchQuery($query, $selector);