@ -38,10 +38,10 @@ pagination.create = function (currentPage, pageCount, queryObj) {
return a - b;
});
delete queryObj._;
queryObj = _.clone(queryObj || {});
var pages = pagesToShow.map(function (page) {
queryObj.page = page;
return { page: page, active: page === currentPage, qs: qs.stringify(queryObj) };