mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
Get rid of the "item" table, enhanced "post" tables
This commit is contained in:
parent
c918e83aa2
commit
ce6ad1aa73
23 changed files with 736 additions and 235 deletions
|
@ -104,7 +104,7 @@ class TagCloud
|
|||
$tag_stmt = DBA::p("SELECT `name`, COUNT(`name`) AS `total` FROM `tag-search-view`
|
||||
LEFT JOIN `post-view` ON `tag-search-view`.`uri-id` = `post-view`.`uri-id`
|
||||
WHERE `tag-search-view`.`uid` = ?
|
||||
AND `post-view`.`visible` AND NOT `post-view`.`deleted` AND NOT `post-view`.`moderated`
|
||||
AND `post-view`.`visible` AND NOT `post-view`.`deleted`
|
||||
$sql_options
|
||||
GROUP BY `name` ORDER BY `total` DESC $limit",
|
||||
$uid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue