From c3f0ec617f6a449f9b628cac2a4b1a1d91f4563a Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 8 Dec 2016 11:21:19 +0800 Subject: [PATCH] FIX: `Object.assign` is not available in PhantomJS. --- app/assets/javascripts/discourse/models/group.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/group.js.es6 b/app/assets/javascripts/discourse/models/group.js.es6 index 20da61e31fa..42f9575e1f7 100644 --- a/app/assets/javascripts/discourse/models/group.js.es6 +++ b/app/assets/javascripts/discourse/models/group.js.es6 @@ -179,7 +179,7 @@ Group.reopenClass({ loadMembers(name, offset, limit, params) { return ajax('/groups/' + name + '/members.json', { - data: Object.assign({ + data: _.extend({ limit: limit || 50, offset: offset || 0 }, params || {})