forked from GNUsocial/gnu-social
Fix typo in public tag cloud query setup which caused the cutoff to get skipped.
This commit is contained in:
parent
5e54e7b55d
commit
2097e6a293
@ -109,7 +109,7 @@ class PublictagcloudAction extends Action
|
||||
$cutoff = sprintf("notice_tag.created > '%s'",
|
||||
common_sql_date(time() - common_config('tag', 'cutoff')));
|
||||
$tags->selectAdd($calc . ' as weight');
|
||||
$tags->addWhere($cutoff);
|
||||
$tags->whereAdd($cutoff);
|
||||
$tags->groupBy('tag');
|
||||
$tags->orderBy('weight DESC');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user