1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 17:24:46 +02:00

Add in-progress items that need more work or testing as to-do’s for next dev branch

This commit is contained in:
Ryan Cramer
2021-08-26 08:11:03 -04:00
parent e6e08ad3fb
commit 25e89c35c9
4 changed files with 14 additions and 3 deletions

View File

@@ -992,7 +992,7 @@ class PageFinder extends Wire {
// first iteration only, see if it's a native column and prevent sortsAfter if so
break;
}
if(strpos($selector->value, '.') !== false) {
if(strpos($selector->value(), '.') !== false) {
// we don't supports sortsAfter for subfields, so abandon entirely
$sortsAfter = array();
break;
@@ -2206,6 +2206,9 @@ class PageFinder extends Wire {
$database = $this->database;
$user = $this->wire()->user;
$language = $this->languages && $user->language ? $user->language : null;
// todo 3.0.190: uncomment the line below to support `sort=a|b|c` in correct order
// if(count($values) > 1) $values = array_reverse($values); // because orderby prepend used below
foreach($values as $value) {