Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Commit

Permalink
rebase pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed May 7, 2016
1 parent 96bb86e commit 5c68db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plone/z3cform/crud/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ class CrudBatchView(BatchView):
prefix = ''

def make_link(self, pagenumber):
return "%s?%spage=%s" % (
self.request.getURL(), self.prefix, pagenumber)
start = max(pagenumber - 1, 0)
return "%s?%spage=%s" % (self.request.getURL(), self.prefix, start)


class EditSubForm(form.EditForm):
Expand Down

0 comments on commit 5c68db8

Please sign in to comment.