Skip to content

Commit

Permalink
Fix ordering of workflows via column header "state"
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed May 12, 2019
1 parent 449ff85 commit eafbd9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct($config = array())
$config['filter_fields'] = array(
'id', 'w.id',
'title', 'w.title',
'state', 'w.state',
'published', 'w.published',
'created_by', 'w.created_by',
'created', 'w.created',
'ordering', 'w.ordering',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<?php echo HTMLHelper::_('grid.checkall'); ?>
</td>
<th scope="col" style="width:1%" class="text-center hidden-sm-down">
<?php echo HTMLHelper::_('searchtools.sort', 'JSTATUS', 'w.condition', $listDirn, $listOrder); ?>
<?php echo HTMLHelper::_('searchtools.sort', 'JSTATUS', 'w.published', $listDirn, $listOrder); ?>
</th>
<th class="hidden-sm-down">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_WORKFLOW_NAME', 'w.title', $listDirn, $listOrder); ?>
Expand Down

0 comments on commit eafbd9c

Please sign in to comment.