Permalink
Browse files

Updated packages to install elasticsearch client

  • Loading branch information...
1 parent 04aba3c commit 12ed7beec466a3c7f9b13c197e053c8c07988372 @cliftonc cliftonc committed Jun 27, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 package.json
  2. +1 −1 utils/pager.js
View
@@ -40,6 +40,7 @@
"github-flavored-markdown" : ">=1.0.0",
"request":">=1.9.5",
"pool":">=0.4.1",
+ "elasticsearchclient":">=0.0.5",
"mime":">=1.2.2"
},
"devDependencies": {
View
@@ -54,7 +54,7 @@ exports = module.exports = {
}
function pageLink(path,skip,limit,page) {
- return "<a class='pager-page' href='" + path + "?from=" + skip + "&limit=" + limit + "'>" + page + "</a>";
+ return "<a class='pager-page' href='" + (path ? path + "&" : "?") + "from=" + skip + "&limit=" + limit + "'>" + page + "</a>";
}
function pageSpan(page) {

0 comments on commit 12ed7be

Please sign in to comment.