REST Service for POPCORN - ILIAS
alex
2025-06-02 a515b027bb595c8ddf2da9830eac18968d441c44
adding route kurs/count
1 files modified
2 ■■■ changed files
lib/db.js 2 ●●● patch | view | raw | blame | history
lib/db.js
@@ -186,7 +186,7 @@
   //            INNER JOIN ${database}.object_data od ON od.obj_id = or2.obj_id
   //            WHERE or2.obj_id = '${obj_id}'
   // `
   const q = `SELECT ci.parent_id, or2.ref_id, or2.obj_id, od.title, od.type
   const q = `SELECT ci.parent_id, or2.ref_id, or2.obj_id, od.title, od.type, or2.deleted
              FROM ${database}.crs_items ci
              INNER JOIN ${database}.object_reference or2 ON or2.ref_id = ci.obj_id
              INNER JOIN ${database}.object_data od ON od.obj_id = or2.obj_id