This commit is contained in:
barisusakli
2015-06-24 17:15:58 -04:00
parent a31178ebd8
commit 718f61e3bd
7 changed files with 9 additions and 10 deletions

View File

@@ -214,7 +214,7 @@ SocketGroups.search = function(socket, data, callback) {
}
if (!data.query) {
var groupsPerPage = 9;
var groupsPerPage = 15;
groupsController.getGroupsFromSet(socket.uid, data.options.sort, 0, groupsPerPage - 1, function(err, data) {
callback(err, !err ? data.groups : null);
});