From d55df0191ba15894916cf7fa09718ca215a687dd Mon Sep 17 00:00:00 2001 From: sergiusd Date: Tue, 21 Oct 2014 10:48:16 +0400 Subject: [PATCH] =?UTF-8?q?ModelRepo.=5FbuildApiRequestUrl=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=B1=D0=B0=D0=B2=D0=BB=D1=8F=D0=B5=D1=82=20=D1=81=D0=BB=D1=8D?= =?UTF-8?q?=D1=88=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D0=B5=D1=86=20=D0=BF=D1=83?= =?UTF-8?q?=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ModelRepo.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModelRepo.coffee b/ModelRepo.coffee index 1d92f2de..0dba652a 100644 --- a/ModelRepo.coffee +++ b/ModelRepo.coffee @@ -434,7 +434,7 @@ define [ urlParams.push("_fields=id") urlParams.push("_calc=#{ calcFields.join(',') }") if calcFields.length > 0 - @restResource + (if params.accessPoint? then ('/' + params.accessPoint) else '') + (if params.id then '/' + params.id + '/?' else '/?') + urlParams.join('&') + @restResource + (if params.accessPoint? then ('/' + params.accessPoint) else '') + (if params.id then '/' + params.id + '?' else '?') + urlParams.join('&') delete: (model) ->