Skip to content

Commit

Permalink
⚡ Log table items ordered from asc to desc
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeeptrivedi13 committed Oct 28, 2024
1 parent 68e1b5a commit de63c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edwiser-bridge/includes/class-eb-error-logs-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function eb_get_table( $post_data, $search_text, $current_page ) {
}
$tbl_records = array();

foreach ( $logs as $key => $log ) {
foreach ( array_reverse( $logs ) as $key => $log ) {
$row = array();
$row['key'] = $key;
$row['status'] = $log['status'];
Expand Down

0 comments on commit de63c67

Please sign in to comment.