about summary refs log tree commit diff
diff options
context:
space:
mode:
-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")