mirror of https://github.com/perkeep/perkeep.git
Relegate camli/search to camli/search/recent
Change-Id: I7f76db980fe1788a6d0ac556e8176bc83cd6828f
This commit is contained in:
parent
4b0f04257f
commit
1f39a91eee
|
@ -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":
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue