Store the tag type for the post targets
This commit is contained in:
parent
1c0c787d1c
commit
060597f619
8 changed files with 96 additions and 24 deletions
|
@ -664,6 +664,7 @@
|
|||
"cid" => ["post-tag", "cid"],
|
||||
"name" => "CASE `cid` WHEN 0 THEN `tag`.`name` ELSE `contact`.`name` END",
|
||||
"url" => "CASE `cid` WHEN 0 THEN `tag`.`url` ELSE `contact`.`url` END",
|
||||
"tag-type" => "CASE `cid` WHEN 0 THEN `tag`.`type` ELSE 1 END",
|
||||
],
|
||||
"query" => "FROM `post-tag`
|
||||
LEFT JOIN `tag` ON `post-tag`.`tid` = `tag`.`id`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue