python-taiga
python-taiga copied to clipboard
pagination, page always returns the first page
Description
when you have more than 300 User stories (2071 in the one I'm working with) setting page=y will return the same results no matter the value of y
Steps to reproduce
the_page_size = 100
for y in range(1,10):
stories = api.user_stories.list(project=44, page=y, page_size=the_page_size)
for x in stories:
print(x.subject)
print("*** Page *** ", y, "Len: ",len(stories))
Versions
Expected behaviour
when incrementing "page" and re calling I would expect the next page of results to be returned
Actual behaviour
whatever value is set the first page is returned
Additional information
@wadoadi oops, thanks for spotting this #119 fixes the issue if you want to test it We plan to release this really soon
Great, thank you, will test when available…