diff options
Diffstat (limited to 'ishtar_common/rest.py')
-rw-r--r-- | ishtar_common/rest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/rest.py b/ishtar_common/rest.py index 1ca8824b0..f85061b69 100644 --- a/ishtar_common/rest.py +++ b/ishtar_common/rest.py @@ -185,5 +185,5 @@ class GetAPIView(generics.RetrieveAPIView): if not q.count(): return Response({}, content_type="json") obj = q.all()[0] - result = obj.full_serialize() + result = obj.full_serialize(search_model) return Response(result, content_type="json") |