From 94b1cd112da6cc77280f22894d417f6d229bbd41 Mon Sep 17 00:00:00 2001 From: Friederike Schwager <schwager@cil.rwth-aachen.de> Date: Mon, 17 Jun 2019 10:31:16 +0200 Subject: [PATCH] Make column with dropdown unsortable (in overview table) --- model/overviewtable.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model/overviewtable.php b/model/overviewtable.php index 0ea65d1..f187171 100644 --- a/model/overviewtable.php +++ b/model/overviewtable.php @@ -68,7 +68,8 @@ class questionstable extends overviewtable { $this->define_baseurl($url); $columns = array('col0', 'col1', 'col2', 'col3', 'col4', 'col5'); if ($showdropdown) { - $columns[] = 'col6'; + $columns[] = 'col6'; // Action dropdown menu. + $this->no_sorting('col6'); } $this->define_columns($columns); $this->column_style('col0', 'width', '30% !important'); // Question. -- GitLab