1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 17:54:44 +02:00

Update $modules->findByPrefix() to sort the returned results by module name

This commit is contained in:
Ryan Cramer
2020-12-04 15:42:59 -05:00
parent 80208b55e2
commit 7549ba7370

View File

@@ -1645,6 +1645,7 @@ class Modules extends WireArray {
$results[$moduleName] = $moduleName;
}
}
ksort($results);
return $results;
}