1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 08:17:12 +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

@@ -11,9 +11,10 @@
* If that file exists, the installer will not run. So if you need to re-run this installer for any
* reason, then you'll want to delete that file. This was implemented just in case someone doesn't delete the installer.
*
* ProcessWire 3.x, Copyright 2019 by Ryan Cramer
* ProcessWire 3.x, Copyright 2021 by Ryan Cramer
* https://processwire.com
*
* @todo 3.0.190: provide option for command-line options to install
* @todo have installer set session name
*
*/

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;
@@ -2207,6 +2207,9 @@ class PageFinder extends Wire {
$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) {
$fc = substr($value, 0, 1);

View File

@@ -925,3 +925,9 @@ $focusPointCircleSize: 40px;
display: none;
white-space: nowrap;
}
/* todo: 3.0.190 improves touch support but needs further testing
.gridImage__edit { display:block !important; }
.gridImage__edit span { display:none; }
.gridImage__edit:hover span { display:inline; }
*/

View File

@@ -81,7 +81,8 @@ class PageRender extends WireData implements Module, ConfigurableModule {
*
*/
public function ready() {
if($this->wire('page')->template != 'admin') {
// todo 3.0.190: remove template!=admin condition: https://github.com/processwire/processwire-issues/issues/1424
if($this->wire()->page->template != 'admin') {
$this->addHookBefore('Page::render', $this, 'beforeRenderPage', array('priority' => 1));
}
}