mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Code standards
This commit is contained in:
parent
304ba0e7c4
commit
bc1efdaf53
1 changed files with 4 additions and 2 deletions
|
@ -38,14 +38,16 @@
|
|||
|
||||
return [
|
||||
"tag-view" => [
|
||||
"fields" => ["uri-id" => ["post-tag", "uri-id"],
|
||||
"fields" => [
|
||||
"uri-id" => ["post-tag", "uri-id"],
|
||||
"uri" => ["item-uri", "uri"],
|
||||
"guid" => ["item-uri", "guid"],
|
||||
"type" => ["post-tag", "type"],
|
||||
"tid" => ["post-tag", "tid"],
|
||||
"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"],
|
||||
"url" => "CASE `cid` WHEN 0 THEN `tag`.`url` ELSE `contact`.`url` END",
|
||||
],
|
||||
"query" => "FROM `post-tag`
|
||||
INNER JOIN `item-uri` ON `item-uri`.id = `post-tag`.`uri-id`
|
||||
LEFT JOIN `tag` ON `post-tag`.`tid` = `tag`.`id`
|
||||
|
|
Loading…
Reference in a new issue