From f3144645755c0913ea340483e12991c878795e54 Mon Sep 17 00:00:00 2001 From: Emmanuel Danan Date: Tue, 19 May 2020 12:09:56 +0200 Subject: [PATCH] Small fixes concerning the sorting list and the column headers/arrows. Now both are synchronized. --- admin/helpers/compiler/e_Interpretation.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php index d573e9de8..84e79c8e9 100644 --- a/admin/helpers/compiler/e_Interpretation.php +++ b/admin/helpers/compiler/e_Interpretation.php @@ -11651,7 +11651,7 @@ class Interpretation extends Fields if ($item['sort']) { $title = "listDirn, \$this->listOrder); ?>"; } $head .= PHP_EOL . $this->_t(1) . ''; $head .= PHP_EOL . $this->_t(3) . "listDirn, \$this->listOrder); ?>"; + . "', 'a.published', \$this->listDirn, \$this->listOrder); ?>"; $head .= PHP_EOL . $this->_t(2) . ""; $head .= PHP_EOL . $this->_t(1) . ""; $head .= PHP_EOL . $this->_t(2) @@ -11686,7 +11686,7 @@ class Interpretation extends Fields . ''; $head .= PHP_EOL . $this->_t(3) . "listDirn, \$this->listOrder); ?>"; + . "', 'a.id', \$this->listDirn, \$this->listOrder); ?>"; $head .= PHP_EOL . $this->_t(1) . ""; } $head .= PHP_EOL . ""; @@ -19553,10 +19553,10 @@ class Interpretation extends Fields public function setSortFields(&$view) { // keep track of all fields already added - $donelist = array('sorting', 'published'); + $donelist = array('ordering', 'published'); // set the default first $fields = "return array("; - $fields .= PHP_EOL . $this->_t(3) . "'a.sorting' => JText:" + $fields .= PHP_EOL . $this->_t(3) . "'ordering' => JText:" . ":_('JGRID_HEADING_ORDERING')"; $fields .= "," . PHP_EOL . $this->_t(3) . "'a.published' => JText:" . ":_('JSTATUS')";