aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-01-29 12:58:06 -0600
committerFrederick Muriuki Muriithi2025-01-29 12:58:06 -0600
commit848bd536ce8d34f0b1ddada7b170f56f6465b317 (patch)
tree33263395126aa439a8a609b8a0b0fc463a9921a0 /uploader
parent72f158fa3d90b888440735b0883c271e951159bc (diff)
downloadgn-uploader-848bd536ce8d34f0b1ddada7b170f56f6465b317.tar.gz
Fetch all phenotypes for display with DataTables.
Diffstat (limited to 'uploader')
-rw-r--r--uploader/phenotypes/views.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index e958c7a..ddec54c 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -197,12 +197,10 @@ def view_dataset(# pylint: disable=[unused-argument]
phenotype_count=phenotypes_count(
conn, population["Id"], dataset["Id"]),
phenotypes=enumerate_sequence(
- dataset_phenotypes(conn,
- population["Id"],
- dataset["Id"],
- offset=start_at,
- limit=count),
- start=start_at+1),
+ dataset_phenotypes(
+ conn,
+ population["Id"],
+ dataset["Id"])),
start_from=start_at,
count=count,
activelink="view-dataset")