mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-23 21:21:57 +00:00
fix: adopt renaming of serialize function (#269)
This commit is contained in:
@@ -53,9 +53,7 @@ def records_serializer(records=None):
|
|||||||
"""Serialize list of records."""
|
"""Serialize list of records."""
|
||||||
record_list = []
|
record_list = []
|
||||||
for record in records:
|
for record in records:
|
||||||
record_list.append(
|
record_list.append(UIJSONSerializer().dump_obj(record.to_dict()))
|
||||||
UIJSONSerializer().serialize_object_to_dict(record.to_dict())
|
|
||||||
)
|
|
||||||
return record_list
|
return record_list
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user