From b0f11e0eaa7e3130fc4e9e51526c1598b3446426 Mon Sep 17 00:00:00 2001 From: ThrawnCA Date: Tue, 15 Mar 2022 14:24:26 +1000 Subject: [PATCH] [QOL-8595] restore controller-based routing for re-opening data requests --- ckanext/data_qld_theme/templates/datarequests/show.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/data_qld_theme/templates/datarequests/show.html b/ckanext/data_qld_theme/templates/datarequests/show.html index 0c72aac9..c55cff10 100644 --- a/ckanext/data_qld_theme/templates/datarequests/show.html +++ b/ckanext/data_qld_theme/templates/datarequests/show.html @@ -18,7 +18,7 @@ {% endif %} {% if h.check_access('open_datarequest', {'id':datarequest_id }) and c.datarequest.closed %} - {% link_for _('Re-open'), named_route='open_datarequest', id=datarequest_id, class_='btn btn-success', icon='unlock' %} + {% link_for _('Re-open'), controller='ckanext.data_qld.controller:DataQldUI', action='open_datarequest', id=datarequest_id, class_='btn btn-success', icon='unlock' %} {% endif %} {% endblock %}