mirror of
https://github.com/processwire/processwire.git
synced 2025-08-26 08:04:38 +02:00
Bump version to 3.0.101
This commit is contained in:
@@ -45,7 +45,7 @@ class ProcessWire extends Wire {
|
|||||||
* Reversion revision number
|
* Reversion revision number
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const versionRevision = 100;
|
const versionRevision = 101;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Version suffix string (when applicable)
|
* Version suffix string (when applicable)
|
||||||
|
@@ -60,6 +60,7 @@
|
|||||||
* @property string $blankLabel Label when a field is blank (default=Blank)
|
* @property string $blankLabel Label when a field is blank (default=Blank)
|
||||||
* @property int $editOption Edit option setting, used only by ListerPro
|
* @property int $editOption Edit option setting, used only by ListerPro
|
||||||
* @property bool $responsiveTable Whether or not Lister table should be responsive rather than horiz scroll
|
* @property bool $responsiveTable Whether or not Lister table should be responsive rather than horiz scroll
|
||||||
|
* @property bool $configMode Configuration mode where some limits are removed (default=false)
|
||||||
*
|
*
|
||||||
* @method string buildListerTableColActions(Page $p, $value)
|
* @method string buildListerTableColActions(Page $p, $value)
|
||||||
* @method string renderResults($selector = null)
|
* @method string renderResults($selector = null)
|
||||||
@@ -249,6 +250,9 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
|||||||
// whether or not table collapses (rather than horiz scroll) at lower resolutions
|
// whether or not table collapses (rather than horiz scroll) at lower resolutions
|
||||||
$this->set('responsiveTable', true);
|
$this->set('responsiveTable', true);
|
||||||
|
|
||||||
|
// configuration mode where some limits are removed
|
||||||
|
$this->set('configMode', false);
|
||||||
|
|
||||||
$idLabel = $this->_('ID');
|
$idLabel = $this->_('ID');
|
||||||
$pathLabel = $this->_('Path');
|
$pathLabel = $this->_('Path');
|
||||||
$nameLabel = $this->_('Name');
|
$nameLabel = $this->_('Name');
|
||||||
@@ -693,7 +697,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
|||||||
protected function allowColumnField(Field $field) {
|
protected function allowColumnField(Field $field) {
|
||||||
|
|
||||||
if(in_array($field->name, $this->disallowColumns)) return false;
|
if(in_array($field->name, $this->disallowColumns)) return false;
|
||||||
if(count($this->limitFields) && !in_array($field->name, $this->limitFields)) {
|
if(count($this->limitFields) && !$this->configMode && !in_array($field->name, $this->limitFields)) {
|
||||||
if(!in_array($field->name, $this->columns)) return false;
|
if(!in_array($field->name, $this->columns)) return false;
|
||||||
}
|
}
|
||||||
if($field->type instanceof FieldtypeFieldsetOpen) return false;
|
if($field->type instanceof FieldtypeFieldsetOpen) return false;
|
||||||
|
Reference in New Issue
Block a user