Fix: Correct total number of monitoring entries in admin panel.
See: https://github.com/freifunkhamburg/ffffng/issues/16
This commit is contained in:
parent
f720c0e028
commit
ecc82e30c1
2 changed files with 25 additions and 18 deletions
server/utils
|
@ -147,6 +147,8 @@ angular.module('ffffng').factory('Resources', function (_, Constraints, Validato
|
|||
return entities.slice((page - 1) * perPage, page * perPage);
|
||||
},
|
||||
|
||||
whereCondition: filterCondition,
|
||||
|
||||
filterClause: function (restParams, defaultSortField, allowedSortFields, filterFields) {
|
||||
var orderBy = orderByClause(
|
||||
restParams,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue