summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-04-05 23:10:37 +0530
committerAamir Khan <syst3m.w0rm@gmail.com>2012-04-05 23:10:37 +0530
commitc63d0f755feb49b79506777228ffc88a7c934f23 (patch)
tree08e921de5e5f56c3bfb6f1d33017fdb0549066d7 /urls.py
parent85d20f9dc6b7b31002d5309aadedb43d2f18968c (diff)
downloadhyperkitty-c63d0f755feb49b79506777228ffc88a7c934f23.tar.gz
hyperkitty-c63d0f755feb49b79506777228ffc88a7c934f23.tar.xz
hyperkitty-c63d0f755feb49b79506777228ffc88a7c934f23.zip
Fix next and previous links on search page
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index e2d7f9e..22ce246 100644
--- a/urls.py
+++ b/urls.py
@@ -32,8 +32,8 @@ urlpatterns = patterns('',
# Search
#url(r'^search$', 'views.pages.search'),
# If page number is present in URL
- url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>.*)$', 'views.pages.search_keyword'),
- url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>.*)/$', 'views.pages.search_keyword'),
+ url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>\d)$', 'views.pages.search_keyword'),
+ url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>\d)/$', 'views.pages.search_keyword'),
# Show the first page as default when no page number is present in URL
url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)$', 'views.pages.search_keyword'),
url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)/$', 'views.pages.search_keyword'),