X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rest%2Fcreate.py;h=afb62b7470cabfcc9dced2c45cfd5ee58b91d885;hb=8f594dc33c4811a06f6f352984f57bc4b8f9ea51;hp=e95a6e761352d115428ef5cae990e51e838fe9d1;hpb=c317373733197d7ba0b77017972f95289ea07b74;p=myslice.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'):