diff --git a/public/home/search.js b/public/home/search.js index 205afcddb..337418bea 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -33,17 +33,17 @@ var itemType={ }; var sortBy={ - "11":"updated_unix", - "12":"num_watches", - "13":"num_stars", - "14":"num_forks", - "21":"updated_unix", - "31":"created_unix", + "11":"updated_unix.keyword", + "12":"num_watches.keyword", + "13":"num_stars.keyword", + "14":"num_forks.keyword", + "21":"updated_unix.keyword", + "31":"created_unix.keyword", "32":"name", - "41":"created_unix", + "41":"created_unix.keyword", "42":"name", - "51":"download_times", - "61":"updated_unix" + "51":"download_times.keyword", + "61":"updated_unix.keyword" };