From ee2cb185bd6335aadc700943502ee42a98112376 Mon Sep 17 00:00:00 2001 From: The_Grits Date: Wed, 1 Feb 2017 15:57:04 -0500 Subject: [PATCH 1/3] Search Redirect --- src/routes.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/routes.json b/src/routes.json index d6042de76..0f53c98f5 100644 --- a/src/routes.json +++ b/src/routes.json @@ -186,6 +186,12 @@ "view": "search/search", "title": "Search" }, + { + "name": "search-redirect", + "pattern": "^/search/?$", + "routeAlias": "/search(?!/ajax)", + "redirect": "/search/projects", + }, { "name": "terms", "pattern": "^/terms_of_use/?$", From 1cc80831377a3eecd0423563be454ceb971c7426 Mon Sep 17 00:00:00 2001 From: The_Grits Date: Wed, 1 Feb 2017 16:15:18 -0500 Subject: [PATCH 2/3] Travis Fix --- src/routes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.json b/src/routes.json index 0f53c98f5..9b8603ae4 100644 --- a/src/routes.json +++ b/src/routes.json @@ -190,7 +190,7 @@ "name": "search-redirect", "pattern": "^/search/?$", "routeAlias": "/search(?!/ajax)", - "redirect": "/search/projects", + "redirect": "/search/projects" }, { "name": "terms", From e4ffcf00c3ac8b03ebbf13e56e4352dcae6bf252 Mon Sep 17 00:00:00 2001 From: The_Grits Date: Mon, 6 Feb 2017 17:00:48 -0500 Subject: [PATCH 3/3] Remove ajax --- src/routes.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.json b/src/routes.json index 9b8603ae4..7c3c511f4 100644 --- a/src/routes.json +++ b/src/routes.json @@ -189,7 +189,7 @@ { "name": "search-redirect", "pattern": "^/search/?$", - "routeAlias": "/search(?!/ajax)", + "routeAlias": "/search", "redirect": "/search/projects" }, {