From 46c9d2ddd2ed62d4145333154766191b42e56f24 Mon Sep 17 00:00:00 2001 From: Gerrit Hoffschulte <67461498+aw-gerrit@users.noreply.github.com> Date: Thu, 20 May 2021 15:48:50 +0200 Subject: [PATCH] Added sort function to title col --- src/PagesConfig.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PagesConfig.php b/src/PagesConfig.php index b3d23a9..be1aa0c 100644 --- a/src/PagesConfig.php +++ b/src/PagesConfig.php @@ -112,7 +112,8 @@ public function indexTableColumns($table) protected function makeTitleColumns($table) { $table->col('Title') - ->value('{'.$this->getTitleColumnName().'}'); + ->value('{'.$this->getTitleColumnName().'}') + ->sortBy($this->getTitleColumnName()); } /**