Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: the correct handling is done in the iterator #331

Merged
merged 2 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
Changes
=======

Version 3.0.2 (released 2024-12-15)

- fix: the correct handling is done in the iterator

Version 3.0.1 (released 2024-12-10)

- fix: alembic recipe column not altered
Expand Down
2 changes: 1 addition & 1 deletion invenio_records/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
from .api import Record
from .ext import InvenioRecords

__version__ = "3.0.1"
__version__ = "3.0.2"

__all__ = (
"InvenioRecords",
Expand Down
2 changes: 1 addition & 1 deletion invenio_records/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def revert(self, revision_id):
if self.model is None:
raise MissingModelError()

revision = list(self.revisions)[revision_id]
revision = self.revisions[revision_id]

with db.session.begin_nested():
if self.send_signals:
Expand Down