aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/oauth2/resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/oauth2/resources.py')
-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):