I have tried that, and the changes are applied, in the parent field of the ticket, both partents appear, but in the dropdown of the plugin that shows the parents only the first one appears, in this image you can see it:
On Wednesday, November 13, 2024 at 8:45:36 AM UTC+1 Jun Omae wrote:
Hi,
On 2024/11/13 16:13, Daniel Antequera wrote:
> Hi, I have a trac project that uses subtickets, and I want to change it to ChildTicketsPlugin, from what I have seen, subtickets stores the data in the subtickets table like this:
> parent | child
> 10 | 11
>
> And ChildTicketsPlugin stores them in ticket_custom like this:
> ticket | name | value
> 11 parent #10
>
> The problem is that some tickets have multiple parents, and I don't know how, or even if it is possible, to configure this in the ticket_custom table.
>
> I have tried to do it like this:
> ticket | name | value
> 11 parent #10,#9
>
> But it only shows the first parent, not the second one.
Try to use space instead of comma for multiple parents.
See https://trac-hacks.org/browser/childticketsplugin/trunk/childtickets/web_ui.py?marks=55-57,68-70#L47
--
Jun Omae <jun...@gmail.com> (大前 潤)