aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-01 15:03:14 -0500
committerFrederick Muriuki Muriithi2024-08-01 15:03:14 -0500
commit328ac119863e749b4531cbf56cf6b0623c037b0e (patch)
treebfba60145cb35dec8e5e6659e789855d8ed27bbc /gn2
parentc9063f5bde9a6163958a635b301d20a6323c874f (diff)
downloadgenenetwork2-328ac119863e749b4531cbf56cf6b0623c037b0e.tar.gz
bug: add missing `count_per_page` variable.
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/oauth2/resources.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn2/wqflask/oauth2/resources.py b/gn2/wqflask/oauth2/resources.py
index b8d804f9..7ea7fe38 100644
--- a/gn2/wqflask/oauth2/resources.py
+++ b/gn2/wqflask/oauth2/resources.py
@@ -129,8 +129,10 @@ def view_resource(resource_id: UUID):
dataset_type = resource["resource_category"]["resource_category_key"]
return oauth2_get(f"auth/group/{dataset_type}/unlinked-data").either(
lambda err: render_ui(
- "oauth2/view-resource.html", resource=resource,
- unlinked_error=process_error(err)),
+ "oauth2/view-resource.html",
+ resource=resource,
+ unlinked_error=process_error(err),
+ count_per_page=count_per_page),
lambda unlinked: __unlinked_success__(resource, unlinked))
def __fetch_resource_data__(resource):