From b7eb8170d0d14f114e5ec2d167067fce0667d186 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 12 Aug 2023 16:23:10 +0300 Subject: [PATCH] make 'top' behavior exclusive to rdrama --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index e1cd4d519..0d100b879 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -39,7 +39,7 @@ def front_all(v, sub=None): sort=request.values.get("sort", defaultsorting) t=request.values.get('t', defaulttime) - if t == 'all' and sort == 'hot': + if SITE == 'rdrama.net' and t == 'all' and sort == 'hot': sort = 'top' try: gt=int(request.values.get("after", 0))