##// END OF EJS Templates
search: remove excesive quoting on search pagination....
dan -
r4280:4c0a23db default
parent child Browse files
Show More
@@ -60,11 +60,10 b' def perform_search(request, tmpl_context'
60 60 errors = e.children
61 61
62 62 def url_generator(page_num):
63 q = urllib.quote(safe_str(search_query))
64 63
65 64 query_params = {
66 65 'page': page_num,
67 'q': q,
66 'q': safe_str(search_query),
68 67 'type': safe_str(search_type),
69 68 'max_lines': search_max_lines,
70 69 'sort': search_sort
@@ -72,7 +71,6 b' def perform_search(request, tmpl_context'
72 71
73 72 return '?' + urllib.urlencode(query_params)
74 73
75
76 74 c = tmpl_context
77 75 search_query = search_params.get('search_query')
78 76 search_type = search_params.get('search_type')
General Comments 0
You need to be logged in to leave comments. Login now