v1.18.x
barisusakli 8 years ago
parent e7ced2457e
commit 743a3fb442

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

Loading…
Cancel
Save