diff --git a/lib/go/camli/search/handler.go b/lib/go/camli/search/handler.go index fce238270..bf13b9b33 100644 --- a/lib/go/camli/search/handler.go +++ b/lib/go/camli/search/handler.go @@ -82,7 +82,7 @@ func (sh *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { if req.Method == "GET" { switch suffix { - case "camli/search", "camli/search/recent": + case "camli/search/recent": sh.serveRecentPermanodes(rw, req) return case "camli/search/describe": diff --git a/server/go/camlistored/ui/camli.js b/server/go/camlistored/ui/camli.js index 93fc18d5f..cbecb603d 100644 --- a/server/go/camlistored/ui/camli.js +++ b/server/go/camlistored/ui/camli.js @@ -273,7 +273,7 @@ function getQueryParam(key) { function camliGetRecentlyUpdatedPermanodes(opts) { var xhr = camliJsonXhr("camliGetRecentlyUpdatedPermanodes", opts); - xhr.open("GET", Camli.config.searchRoot + "camli/search", true); + xhr.open("GET", Camli.config.searchRoot + "camli/search/recent", true); xhr.send(); }