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

V4.11.3 #509

Merged
merged 2 commits into from
Sep 19, 2023
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 @@ -8,6 +8,10 @@
Changes
=======

Version 4.11.3 (2023-09-19)

- revert fix bool comparison in api

Version 4.11.2 (2023-09-18)

- api: fix bool comparison
Expand Down
2 changes: 1 addition & 1 deletion invenio_records_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

from .ext import InvenioRecordsResources

__version__ = "4.11.2"
__version__ = "4.11.3"

__all__ = ("__version__", "InvenioRecordsResources")
2 changes: 1 addition & 1 deletion invenio_records_resources/records/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def list_by_record(cls, record_id, with_deleted=False):
query = cls.model_cls.query.filter(cls.model_cls.record_id == record_id)

if not with_deleted:
query = query.filter(cls.model_cls.is_deleted is not True)
query = query.filter(cls.model_cls.is_deleted != True)

for obj in query:
yield cls(obj.data, model=obj)
Expand Down