Commit 6ea92aae authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Mikaël Salson

sample_set_list.py fix next page button

Due to a length check in the wrong place, the button for incrementing
the page number was not appearing
parent a1643dcc
......@@ -18,8 +18,7 @@ class SampleSetList():
auth.load_permissions(PermissionEnum.admin.value, type)
auth.load_permissions(PermissionEnum.anon.value, type)
self.elements = {}
for i in range(0, min(len(query_gss), step)):
row = query_gss[i]
for row in query_gss:
self.elements[row.id] = row
self.elements[row.id].file_count = 0
self.elements[row.id].size = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment