X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rest%2Fget.py;h=21e9087c1286c3ab0b253e4c533b158125b80cd6;hb=c433e530158ddb73ef1f61413287be60b9dde278;hp=02c651b520b8ea5c09f7becd07b4cac543e1293a;hpb=49d96d60d820e6d9b8434fa070470e39d5c08422;p=myslice.git diff --git a/rest/get.py b/rest/get.py index 02c651b5..21e9087c 100644 --- a/rest/get.py +++ b/rest/get.py @@ -19,6 +19,7 @@ def dispatch(request, object_type, object_name): if el[0].startswith('filters'): o.filters[el[0][8:-1]] = el[1] elif el[0].startswith('fields'): + print req_items.getlist('fields[]') o.setFields(req_items.getlist('fields[]')) elif el[0].startswith('options'): o.options = req_items.getlist('options[]')