1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 00:06:55 +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 * 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. * 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 * https://processwire.com
* *
* @todo 3.0.190: provide option for command-line options to install
* @todo have installer set session name * @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 // first iteration only, see if it's a native column and prevent sortsAfter if so
break; break;
} }
if(strpos($selector->value, '.') !== false) { if(strpos($selector->value(), '.') !== false) {
// we don't supports sortsAfter for subfields, so abandon entirely // we don't supports sortsAfter for subfields, so abandon entirely
$sortsAfter = array(); $sortsAfter = array();
break; break;
@@ -2206,6 +2206,9 @@ class PageFinder extends Wire {
$database = $this->database; $database = $this->database;
$user = $this->wire()->user; $user = $this->wire()->user;
$language = $this->languages && $user->language ? $user->language : null; $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) { foreach($values as $value) {

View File

@@ -925,3 +925,9 @@ $focusPointCircleSize: 40px;
display: none; display: none;
white-space: nowrap; 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() { 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)); $this->addHookBefore('Page::render', $this, 'beforeRenderPage', array('priority' => 1));
} }
} }