Commit f395530e authored by Davve's avatar Davve

Merge branch 'hotfix/id_search' into dev

parents a7b95d64 7a4486ea
...@@ -286,7 +286,7 @@ class APIView(View): ...@@ -286,7 +286,7 @@ class APIView(View):
def make_pair(self, data): def make_pair(self, data):
val = data.pop('value', '') val = data.pop('value', '')
key = data.pop('key', '') key = data.pop('key', '')
if key and key not in ['id', 'user_id']: if key:
key += '__contains' key += '__contains'
if key: if key:
data.update({key: val}) data.update({key: val})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment