Fix loading tool owner for linked tools
NULL AS tool_description,
COALESCE(tl.short_description, t.short_description) AS tool_short_description,
COALESCE(tlv.platform, tv.platform) AS tool_platform,
- COALESCE(tl.owner, t.owner) as tool_owner,
+ t.owner as tool_owner,
COALESCE(tl.allow_sensitive, t.allow_sensitive) as tool_allow_sensitive,
COALESCE(tl.allow_commit, t.allow_commit) as tool_allow_commit,
COALESCE(tl.icon_id, t.icon_id) AS tool_icon_id
NULL AS tool_description,
COALESCE(tl.short_description, t.short_description) AS tool_short_description,
COALESCE(tlv.platform, tv.platform) AS tool_platform,
- COALESCE(tl.owner, t.owner) as tool_owner,
+ t.owner as tool_owner,
COALESCE(tl.allow_sensitive, t.allow_sensitive) as tool_allow_sensitive,
COALESCE(tl.allow_commit, t.allow_commit) as tool_allow_commit,
COALESCE(tl.icon_id, t.icon_id) AS tool_icon_id
t.id as tool_id,
t.image as tool_image,
t.link as tool_link,
+ t.owner as tool_owner,
COALESCE(tl.cpu, t.cpu) AS tool_cpu,
COALESCE(tl.ram, t.ram) AS tool_ram,
COALESCE(tl.default_command, t.default_command) AS tool_default_command,
t.id as tool_id,
t.image as tool_image,
t.link as tool_link,
+ t.owner as tool_owner,
COALESCE(tl.cpu, t.cpu) AS tool_cpu,
COALESCE(tl.ram, t.ram) AS tool_ram,
COALESCE(tl.default_command, t.default_command) AS tool_default_command,
t.id as tool_id,
t.image as tool_image,
t.link as tool_link,
+ t.owner as tool_owner,
COALESCE(tl.cpu, t.cpu) AS tool_cpu,
COALESCE(tl.ram, t.ram) AS tool_ram,
COALESCE(tl.default_command, t.default_command) AS tool_default_command,
t.id as tool_id,
t.image as tool_image,
t.link as tool_link,
+ t.owner as tool_owner,
COALESCE(tl.cpu, t.cpu) AS tool_cpu,
COALESCE(tl.ram, t.ram) AS tool_ram,
COALESCE(tl.default_command, t.default_command) AS tool_default_command,
NULL AS tool_description,
COALESCE(tl.short_description, t.short_description) AS tool_short_description,
COALESCE(tlv.platform, tv.platform) AS tool_platform,
- COALESCE(tl.owner, t.owner) as tool_owner,
+ t.owner as tool_owner,
COALESCE(tl.allow_sensitive, t.allow_sensitive) as tool_allow_sensitive,
COALESCE(tl.allow_commit, t.allow_commit) as tool_allow_commit,
COALESCE(tl.icon_id, t.icon_id) AS tool_icon_id
t.id as tool_id,
t.image as tool_image,
t.link as tool_link,
+ t.owner as tool_owner,
COALESCE(tl.cpu, t.cpu) AS tool_cpu,
COALESCE(tl.ram, t.ram) AS tool_ram,
COALESCE(tl.default_command, t.default_command) AS tool_default_command,
