From 746a5749c73bf09c19dc4e81f55a5c75d02944c3 Mon Sep 17 00:00:00 2001 From: nicolas-lescop Date: Wed, 3 Dec 2014 18:08:44 +0100 Subject: [PATCH] Allow to prepare list model from controller I need reach this method from the controller to create an export feature --- modules/backend/widgets/Lists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/backend/widgets/Lists.php b/modules/backend/widgets/Lists.php index 2f7e2e465..093b3dbca 100644 --- a/modules/backend/widgets/Lists.php +++ b/modules/backend/widgets/Lists.php @@ -273,7 +273,7 @@ class Lists extends WidgetBase /** * Applies any filters to the model. */ - protected function prepareModel() + public function prepareModel() { $query = $this->model->newQuery(); $primaryTable = $this->model->getTable();