Browse Source

BugFix: url_printview

master
Dirk Alders 4 years ago
parent
commit
8d5ce7ccae
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      __init__.py

+ 1
- 1
__init__.py View File

@@ -81,7 +81,7 @@ def url_filteredit(request, search_id=None):
81 81
 def url_printview(request):
82 82
     if not is_printview(request):
83 83
         search_query = get_search_query(request)
84
-        return '?printview' + ('&q=%s' % search_query) if search_query is not None else ''
84
+        return '?printview' + (('&q=%s' % search_query) if search_query is not None else '')
85 85
     else:
86 86
         return request.path
87 87
 

Loading…
Cancel
Save