From 6b5a9520ea8da2ff6047c2e89a53b79f0b18cbea Mon Sep 17 00:00:00 2001 From: akshaythakur8764 Date: Thu, 12 Dec 2024 16:49:56 +0530 Subject: table data order by year --- pspice_to_kicad.module | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pspice_to_kicad.module b/pspice_to_kicad.module index eef6744..971e42c 100755 --- a/pspice_to_kicad.module +++ b/pspice_to_kicad.module @@ -590,10 +590,11 @@ function pspice_to_kicad_view() $rows = array(); $header = array( - array('data' => 'Date'), + array('data' => 'Uploaded by'), array('data' => 'Download'), array('data' => ''), + array('data' => 'Date'), ); @@ -613,10 +614,10 @@ function pspice_to_kicad_view() $user = $query->execute(); $user_data = $user->fetchObject(); - $item = array(date('d-m-Y', strtotime($row->converted_date)), $user_data->name, + $item = array( $user_data->name, l($row->converted_filename, '/pspice-to-kicad/download/file/' . $row->id, array('attributes' => array('title' => 'Click to download converted file'))), "Detail", - + date('d-m-Y', strtotime($row->converted_date)), ); array_push($rows, $item); } -- cgit