aboutsummaryrefslogtreecommitdiff
path: root/uploader/phenotypes
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-07 10:58:00 -0500
committerFrederick Muriuki Muriithi2024-10-07 10:58:00 -0500
commitdc9799a7f2c5771b770a8d3d825fff6cf5e78d58 (patch)
tree5496db7546900f40725fadbd33ff64815bcf1cce /uploader/phenotypes
parentce4a12ffcabf6b7e73db0400bd087e3609bbf4b7 (diff)
downloadgn-uploader-dc9799a7f2c5771b770a8d3d825fff6cf5e78d58.tar.gz
Generalise pagination and paginate phenotypes
Generalise the code generating table pagination UI, and use it to paginate the list of phenotypes.
Diffstat (limited to 'uploader/phenotypes')
-rw-r--r--uploader/phenotypes/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index 63e0b84..47fbd51 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -170,6 +170,8 @@ def view_dataset(# pylint: disable=[unused-argument]
offset=start_at,
limit=count),
start=start_at+1),
+ start_from=start_at,
+ count=count,
activelink="view-dataset")