Skip to content

Commit

Permalink
Fix sortable columns
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpchi committed Oct 17, 2024
1 parent db92d3d commit 42db0cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/tables/solalerts_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ public function __construct($uniqueid) {
$this->define_columns($columns);
$this->define_headers($columnheadings);
$this->no_sorting('actions');
$this->no_sorting('content');
$this->no_sorting('displayconditions');
$this->sortable(true, 'id', SORT_DESC);
$this->sortable(true, 'lastmodified', SORT_DESC);
$this->collapsible(false);
$this->column_style('sortorder', 'text-align', 'center');

Expand Down

0 comments on commit 42db0cd

Please sign in to comment.