X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rest%2Fcreate.py;h=afb62b7470cabfcc9dced2c45cfd5ee58b91d885;hb=refs%2Fheads%2Ffibre;hp=e95a6e761352d115428ef5cae990e51e838fe9d1;hpb=fecbbac04ddd2f55989661f4666dcabae647dc50;p=unfold.git diff --git a/rest/create.py b/rest/create.py index e95a6e76..afb62b74 100644 --- a/rest/create.py +++ b/rest/create.py @@ -29,7 +29,8 @@ def dispatch(request, object_type, object_name): if el[0].startswith('filters'): o.filters[el[0][8:-1]] = el[1] elif el[0].startswith('params'): - o.params[el[0][7:-1]] = el[1] + #o.params[el[0][7:-1]] = el[1] + o.params.append({el[0][7:-1]:el[1]}) elif el[0].startswith('fields'): o.fields=req_items.getlist('fields[]') elif el[0].startswith('options'):