mirror of
https://github.com/processwire/processwire.git
synced 2025-08-15 03:05:26 +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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user