diff --git a/modules/backend/widgets/Lists.php b/modules/backend/widgets/Lists.php index cd2b96723..4389b13ed 100644 --- a/modules/backend/widgets/Lists.php +++ b/modules/backend/widgets/Lists.php @@ -210,7 +210,9 @@ class Lists extends WidgetBase /* * Configure the list widget */ - $this->recordsPerPage = $this->getUserPreference('per_page', $this->recordsPerPage); + if ($this->showSetup) { + $this->recordsPerPage = $this->getUserPreference('per_page', $this->recordsPerPage); + } if ($this->showPagination == 'auto') { $this->showPagination = $this->recordsPerPage && $this->recordsPerPage > 0; @@ -728,7 +730,7 @@ class Lists extends WidgetBase /* * Supplied column list */ - if ($this->columnOverride === null) { + if ($this->showSetup && $this->columnOverride === null) { $this->columnOverride = $this->getUserPreference('visible', null); }