Remove the 500-item limit from the top tags database queries.
This commit is contained in:
@@ -15,7 +15,6 @@ export default (router, tpl) => {
|
|||||||
WHERE t.id not in (${db.unsafe(nsfp)})
|
WHERE t.id not in (${db.unsafe(nsfp)})
|
||||||
GROUP BY t.id, t.tag
|
GROUP BY t.id, t.tag
|
||||||
ORDER BY total_items DESC
|
ORDER BY total_items DESC
|
||||||
LIMIT 500
|
|
||||||
;
|
;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@@ -25,7 +24,6 @@ export default (router, tpl) => {
|
|||||||
LEFT JOIN tags_assign ta ON t.id = ta.tag_id
|
LEFT JOIN tags_assign ta ON t.id = ta.tag_id
|
||||||
GROUP BY t.id, t.tag
|
GROUP BY t.id, t.tag
|
||||||
ORDER BY total_items DESC
|
ORDER BY total_items DESC
|
||||||
LIMIT 500
|
|
||||||
;
|
;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user