diff --git a/cis/private/profile/dokumente.php b/cis/private/profile/dokumente.php index ee31824af..b0c179345 100644 --- a/cis/private/profile/dokumente.php +++ b/cis/private/profile/dokumente.php @@ -76,7 +76,6 @@ if(isset($_GET['action']) && $_GET['action']=='download') $akte = new akte(); $akte->load($id); if ($akte->person_id == $student_studiengang->person_id - && $akte->signiert && $akte->stud_selfservice) { if($akte->inhalt!='') @@ -123,7 +122,6 @@ echo ' }); $(".tablesorter2").tablesorter( { - sortList: [[1,1]], headers: { 0: { sorter: false }}, widgets: ["zebra"] }); diff --git a/include/akte.class.php b/include/akte.class.php index 67a6dc71f..b1498320d 100644 --- a/include/akte.class.php +++ b/include/akte.class.php @@ -527,7 +527,7 @@ class akte extends basis_db if(!is_null($stud_selfservice)) $qry.=" AND stud_selfservice=".($stud_selfservice?'true':'false'); - $qry.=" ORDER BY erstelltam"; + $qry.=" ORDER BY erstelltam DESC"; $this->errormsg = $qry;