mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-02-20 09:38:33 +00:00
fix sorting by month
This commit is contained in:
parent
c552e4bb9f
commit
3f13c7cc2b
|
|
@ -349,7 +349,7 @@ $(document).ready( function() {
|
|||
$oldtotal = 0;
|
||||
foreach($data as $item) {
|
||||
echo "<tr>";
|
||||
echo "<td data-sort=\"".$item['key']."\">".htmlspecialchars($item['key'])."</td>";
|
||||
echo "<td data-sort=\"".str_replace('-', '', $item['key'])."\">".htmlspecialchars($item['key'])."</td>";
|
||||
echo "<td>".$item['total']."</td>";
|
||||
if(in_array($type, array('docspermonth')))
|
||||
echo "<td>".sprintf('%+d', $item['total']-$oldtotal)."</td>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user