Skip to content

Commit

Permalink
importer: fix incorrect record reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsherva committed May 6, 2024
1 parent c579967 commit f257ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cds_ils/importer/serializers/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def records_statuses(self, data, **kwargs):
"""Return correct record statuses."""
children_entries_query = ImportRecordLog.query.filter_by(
import_id=data.get("id")
)
).order_by(ImportRecordLog.id.asc())

first_entry = children_entries_query.first()

Expand Down

0 comments on commit f257ddb

Please sign in to comment.