4 | | {{{ owner.append(rows[0])}}} |
5 | | ?? |
6 | | |
7 | | Replying to [comment:5 anonymous]: |
8 | | > here is the tested fix: |
9 | | > {{{#!diff |
10 | | > --- tracjsgantt/tracpm.py (revision 13544) |
11 | | > +++ tracjsgantt/tracpm.py (working copy) |
12 | | > @@ -2323,8 +2323,11 @@ |
13 | | > values = [] |
14 | | > for tid in ids: |
15 | | > values.append([ tid ]) |
16 | | > - cursor.executemany(query, values) |
17 | | > - owners = [row[0] for row in cursor] |
18 | | > + owners = [] |
19 | | > + for id in values: |
20 | | > + cursor.execute(query, id) |
21 | | > + rows = cursor.fetchall() |
22 | | > + owner.append(row[0]) |
23 | | > return set(owners) |
24 | | > |
25 | | > # Helper to find open tickets by owners |
26 | | > }}} |
| 4 | {{{owner.append(rows[0])}}} |
| 5 | ? |