Skip to content
Snippets Groups Projects
Commit 3a705899 authored by Jean-Baptiste's avatar Jean-Baptiste
Browse files

bugfix: wrong method call

parent 1c76dfa2
No related branches found
Tags v0.5.49
No related merge requests found
Pipeline #835 passed with stage
in 1 minute and 21 seconds
......@@ -350,7 +350,7 @@ class LDPSerializer(HyperlinkedModelSerializer):
def get_value(self, dictionary):
try:
object_list = dictionary["@graph"]
container_id = Model.get_container_path(self.parent.instance)
container_id = Model.container_id(self.parent.instance)
obj = next(filter(lambda o: container_id in o[self.url_field_name], object_list))
item = super().get_value(obj)
full_item = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment