From dc98b766c9ce5c27db14cb63df9f76178c9962ed Mon Sep 17 00:00:00 2001 From: Cris Date: Thu, 21 Jan 2021 12:50:07 +0100 Subject: [PATCH] Now filtering / formatting correctly the updated data ...by adding status_kurzbz to returning json object Signed-off-by: cris-technikum --- .../lehre/anrechnung/ApproveAnrechnungUebersicht.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/controllers/lehre/anrechnung/ApproveAnrechnungUebersicht.php b/application/controllers/lehre/anrechnung/ApproveAnrechnungUebersicht.php index 6fefa6d10..0f4354968 100644 --- a/application/controllers/lehre/anrechnung/ApproveAnrechnungUebersicht.php +++ b/application/controllers/lehre/anrechnung/ApproveAnrechnungUebersicht.php @@ -115,6 +115,7 @@ class approveAnrechnungUebersicht extends Auth_Controller { $json[]= array( 'anrechnung_id' => $item['anrechnung_id'], + 'status_kurzbz' => self::ANRECHNUNGSTATUS_APPROVED, 'status_bezeichnung' => $approved ); } @@ -157,6 +158,7 @@ class approveAnrechnungUebersicht extends Auth_Controller { $json[]= array( 'anrechnung_id' => $item['anrechnung_id'], + 'status_kurzbz' => self::ANRECHNUNGSTATUS_REJECTED, 'status_bezeichnung' => $rejected ); } @@ -199,6 +201,7 @@ class approveAnrechnungUebersicht extends Auth_Controller { $json[]= array( 'anrechnung_id' => $item['anrechnung_id'], + 'status_kurzbz' => self::ANRECHNUNGSTATUS_PROGRESSED_BY_LEKTOR, 'status_bezeichnung' => $inProgressLektor ); }