[search] Browse URL does not load the specified collection
@@ -22,8 +22,8 @@ urlpatterns = patterns('dashboard.views',
url(r'^m$', 'index_m', name='index_m'),
url(r'^save$', 'save', name='save'),
url(r'^new_search', 'new_search', name='new_search'),
- url(r'^browse/(?P<name>.+)', 'browse', name='browse'),
- url(r'^browse_m/(?P<name>.+)', 'browse_m', name='browse_m'),
+ url(r'^browse/(?P<name>[^/]+)/?', 'browse', name='browse'),
+ url(r'^browse_m/(?P<name>[^/]+)/?', 'browse_m', name='browse_m'),
# Admin
url(r'^admin/collections$', 'admin_collections', name='admin_collections'),
