1
0
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:
Ryan Cramer
2018-05-04 15:35:01 -04:00
parent 8d38ad7c44
commit ebe163452d
2 changed files with 6 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class ProcessWire extends Wire {
* Reversion revision number
*
*/
const versionRevision = 100;
const versionRevision = 101;
/**
* Version suffix string (when applicable)

View File

@@ -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;