Skip to content

Commit

Permalink
There's no special stickie anymore, so batch size is constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Apr 25, 2016
1 parent d8d0464 commit 3225c50
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hasjob/views/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,7 @@ def index(basequery=None, md5sum=None, tag=None, domain=None, location=None, tit
except ValueError:
pass

if request.method == 'GET':
batchsize = 31 # Skipping one for the special stickie that's on all pages
else:
batchsize = 32
batchsize = 32

# list of posts that were pinned at the time of first load
pinned_hashids = request.args.getlist('ph')
Expand Down

0 comments on commit 3225c50

Please sign in to comment.