| lib/db.js | ●●●●● patch | view | raw | blame | history |
lib/db.js
@@ -255,7 +255,8 @@ async function getKursItems2 (ref_id) { const pool = await poolP const q = ` WITH RECURSIVE tree (parent_id, obj_id, ref_id, title, type) AS (SELECT ci.parent_id, WITH RECURSIVE tree (parent_id, obj_id, ref_id, title, type) AS (SELECT ci.parent_id, or2.obj_id, ci.obj_id as ref_id, od.title,