diff --git a/browser/common.py b/browser/common.py index 5936abf..dcfaf13 100644 --- a/browser/common.py +++ b/browser/common.py @@ -252,6 +252,16 @@ class BaseView(GenericView, I18NView, SortableMixin): result.append(view) return result + @Lazy + def urlParamString(self): + return self.getUrlParamString() + + def getUrlParamString(self): + qs = self.request.get('QUERY_STRING') + if qs: + return '?' + qs + return '' + @Lazy def principalId(self): principal = self.request.principal diff --git a/browser/concept_macros.pt b/browser/concept_macros.pt index 0386eb3..ca396ed 100644 --- a/browser/concept_macros.pt +++ b/browser/concept_macros.pt @@ -51,7 +51,7 @@

Title + tal:attributes="href string:${request/URL}${item/urlParamString}"> Back to Questionnaire
@@ -67,6 +67,10 @@
+