PMCORE-3236: Review pagination in all lists because some improvement in the rest services
This commit is contained in:
@@ -462,11 +462,10 @@ export default {
|
||||
start = data.page === 1 ? 0 : limit * (data.page - 1),
|
||||
filters = {},
|
||||
sort = "";
|
||||
paged = start + "," + limit;
|
||||
|
||||
filters = {
|
||||
paged: paged,
|
||||
}
|
||||
limit: limit,
|
||||
offset: start
|
||||
};
|
||||
_.forIn(this.filters, function (item, key) {
|
||||
if(filters && item.value) {
|
||||
filters[item.filterVar] = item.value;
|
||||
|
||||
Reference in New Issue
Block a user