From bf2c7a18d1b3738fb5fef4d73dc0d93a9388e0ac Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 14 Jan 2019 16:57:41 +0100 Subject: [PATCH] Until the ui supports full pagination list up to 1k users --- src/js/client.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/js/client.js b/src/js/client.js index ee81c4389..b786524f9 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -863,7 +863,14 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N }; Client.prototype.getUsers = function (callback) { - get('/api/v1/users', null, function (error, data, status) { + var config = { + params: { + page: 1, + per_page: 1000 + } + }; + + get('/api/v1/users', config, function (error, data, status) { if (error) return callback(error); if (status !== 200) return callback(new ClientError(status, data));