X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rest%2Fget.py;h=21e9087c1286c3ab0b253e4c533b158125b80cd6;hb=47e44bc61b088033691c43be4609e8c4248b2cb8;hp=02c651b520b8ea5c09f7becd07b4cac543e1293a;hpb=2a609a565beff7c90ff6f0118285ee4995c9d6f6;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[]')