aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-06-11 15:32:35 -0500
committerFrederick Muriuki Muriithi2025-06-11 15:32:35 -0500
commitfd69f9bc98e730664c4a1c64a095e08c83acf1a3 (patch)
tree2b93a3ce60d68c55dc9f63fc95abe59dab290c9b /uploader/templates
parent78217b0a98b475af1596ab5d8300e9a85ea72b65 (diff)
downloadgn-uploader-fd69f9bc98e730664c4a1c64a095e08c83acf1a3.tar.gz
Limit returned results
Limit the number of results returned to make page more responsive. This is buggy at this point — it doesn't do exactly what I expect, e.g. when I attempt to scroll, or use pagination, it doesn't actually display all the pages as expected.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-base.html b/uploader/templates/phenotypes/add-phenotypes-base.html
index 928fb84..01cd0fe 100644
--- a/uploader/templates/phenotypes/add-phenotypes-base.html
+++ b/uploader/templates/phenotypes/add-phenotypes-base.html
@@ -135,9 +135,10 @@
dataSrc: "publications"
},
select: "single",
+ paging: true,
scrollY: 700,
- paging: false,
deferRender: true,
+ scroller: true,
layout: {
topStart: "info",
topEnd: "search"