forked from MarseyWorld/MarseyWorld
dont show pins when viewing effortposts
parent
87eb87b1da
commit
0c2ac46e2b
|
@ -55,7 +55,10 @@ def front_all(v, hole=None):
|
|||
if sort == 'hot': default = True
|
||||
else: default = False
|
||||
|
||||
pins = session.get(f'{hole}_{sort}', default)
|
||||
if effortposts_only:
|
||||
pins = False
|
||||
else:
|
||||
pins = session.get(f'{hole}_{sort}', default)
|
||||
|
||||
if not v:
|
||||
result = cache.get(f'frontpage_{sort}_{t}_{page}_{hole}_{pins}_{effortposts_only}')
|
||||
|
|
Loading…
Reference in New Issue