ограничить число тегов в навигации слева

This commit is contained in:
erjemin
2021-08-23 21:27:35 +03:00
parent 04f5875f0c
commit 9c5a2b7256

View File

@@ -75,8 +75,8 @@ def index(request,
" GROUP BY tPageInfo.id, tPageInfo.NumInPage," " GROUP BY tPageInfo.id, tPageInfo.NumInPage,"
" tTotalInfo.id, tTotalInfo.NumTotal," " tTotalInfo.id, tTotalInfo.NumTotal,"
" tTotalInfo.name, tTotalInfo.slug " " tTotalInfo.name, tTotalInfo.slug "
"ORDER BY tPageInfo.NumInPage DESC, tTotalInfo.name," "ORDER BY tPageInfo.NumInPage DESC, tTotalInfo.NumTotal DESC, "
" tTotalInfo.NumTotal DESC" % (query,)) "tTotalInfo.name LIMIT 20" % (query,))
to_template.update({"LENTA": q_content, "TAGS_IN_PAGE": q_tags}) to_template.update({"LENTA": q_content, "TAGS_IN_PAGE": q_tags})
to_template.update({"PAGE_OF_LIST": int(ppage)}) to_template.update({"PAGE_OF_LIST": int(ppage)})
query_count = "SELECT 1 AS id," \ query_count = "SELECT 1 AS id," \