File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,6 @@ CREATE VIEW view_ticket AS
269269 a .statusid ,
270270 a .parentid ,
271271 a .userid ,
272- a .watcherid ,
273272 a .name ,
274273 a .worked ,
275274 a .estimate ,
@@ -287,7 +286,6 @@ CREATE VIEW view_ticket AS
287286 a .isbillable ,
288287 d .name AS status,
289288 d .sortindex ,
290- d .icon AS status_icon,
291289 d .color AS status_color,
292290 a .search ,
293291 b .isprivate ,
@@ -298,13 +296,15 @@ CREATE VIEW view_ticket AS
298296 a .source ,
299297 a .markdown ,
300298 a .ispublic ,
299+ d .icon AS status_icon,
301300 a .note ,
302- a .attrs
301+ a .watcherid ,
302+ a .attrs ,
303+ ARRAY(SELECT tbl_ticket .id FROM tbl_ticket WHERE tbl_ticket .parentid = a .id ) AS children
303304 FROM tbl_ticket a
304305 LEFT JOIN tbl_folder b ON b .id = a .folderid
305306 LEFT JOIN cl_status d ON d .id = a .statusid
306- WHERE
307- a .isremoved = false;
307+ WHERE a .isremoved = false;
308308
309309CREATE VIEW view_ticket_time AS
310310 SELECT
You can’t perform that action at this time.
0 commit comments