From 848bd536ce8d34f0b1ddada7b170f56f6465b317 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 29 Jan 2025 12:58:06 -0600 Subject: Fetch all phenotypes for display with DataTables. --- uploader/phenotypes/views.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'uploader') 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") -- cgit v1.2.3