diff --git a/htdocs/adminreports.php b/htdocs/adminreports.php index 76ff0611..18752af9 100644 --- a/htdocs/adminreports.php +++ b/htdocs/adminreports.php @@ -122,7 +122,7 @@ INNER JOIN `user` AS `u2` ON `u2`.`user_id`=`c`.`user_id` WHERE `cr`.`status` < 3 AND (`cr`.`adminid` IS NULL OR `cr`.`adminid`=&1) - ORDER BY `cr`.`status` DESC, `cr`.`lastmodified` ASC", + ORDER BY `cr`.`status` ASC, `cr`.`lastmodified` ASC", $login->userid); $tpl->assign_rs('reportedcaches', $rs); diff --git a/htdocs/templates2/ocstyle/adminreports.tpl b/htdocs/templates2/ocstyle/adminreports.tpl index 9d12b85f..22b56cd6 100644 --- a/htdocs/templates2/ocstyle/adminreports.tpl +++ b/htdocs/templates2/ocstyle/adminreports.tpl @@ -27,7 +27,7 @@ {if $list == true} - +
{foreach from=$reportedcaches item=rc}
{t}ID{/t}{t}Name{/t}{t}Owner{/t}{t}Reporter{/t}{t}Date{/t}
{$rc.id}{$rc.new|escape}{$rc.name|escape}{$rc.ownernick|escape}{$rc.username|escape}{$rc.lastmodified|date_format:$opt.format.datelong}