mirror of
https://github.com/processwire/processwire.git
synced 2025-08-24 15:23:11 +02:00
Bump version to 3.0.101
This commit is contained in:
@@ -45,7 +45,7 @@ class ProcessWire extends Wire {
|
||||
* Reversion revision number
|
||||
*
|
||||
*/
|
||||
const versionRevision = 100;
|
||||
const versionRevision = 101;
|
||||
|
||||
/**
|
||||
* Version suffix string (when applicable)
|
||||
|
@@ -60,6 +60,7 @@
|
||||
* @property string $blankLabel Label when a field is blank (default=Blank)
|
||||
* @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 $configMode Configuration mode where some limits are removed (default=false)
|
||||
*
|
||||
* @method string buildListerTableColActions(Page $p, $value)
|
||||
* @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
|
||||
$this->set('responsiveTable', true);
|
||||
|
||||
// configuration mode where some limits are removed
|
||||
$this->set('configMode', false);
|
||||
|
||||
$idLabel = $this->_('ID');
|
||||
$pathLabel = $this->_('Path');
|
||||
$nameLabel = $this->_('Name');
|
||||
@@ -693,7 +697,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
||||
protected function allowColumnField(Field $field) {
|
||||
|
||||
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($field->type instanceof FieldtypeFieldsetOpen) return false;
|
||||
|
Reference in New Issue
Block a user