This commit is contained in:
Barış Soner Uşaklı
2018-01-26 18:56:17 -05:00
parent 0a5d16d1cd
commit c7506d77b0
10 changed files with 215 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
var qs = require('querystring');
var _ = require('lodash');
var pagination = {};
var pagination = module.exports;
pagination.create = function (currentPage, pageCount, queryObj) {
if (pageCount <= 1) {
@@ -76,6 +76,3 @@ pagination.create = function (currentPage, pageCount, queryObj) {
}
return data;
};
module.exports = pagination;