From 3d10afdc57395accdfb71a6fd3a9a959594e748e Mon Sep 17 00:00:00 2001 From: Zacharias Zacharodimos Date: Tue, 19 Sep 2023 10:23:48 +0200 Subject: [PATCH 1/2] Revert "api: fix bool comparison" This reverts commit 3a3a4ad216eccc90291ef0ce645e6860137d6b2e. --- invenio_records_resources/records/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invenio_records_resources/records/api.py b/invenio_records_resources/records/api.py index a139137a..bda65389 100644 --- a/invenio_records_resources/records/api.py +++ b/invenio_records_resources/records/api.py @@ -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) From 7a639c27fda949b6a29fe6fcfead9972ec5c7c59 Mon Sep 17 00:00:00 2001 From: Zacharias Zacharodimos Date: Tue, 19 Sep 2023 10:25:12 +0200 Subject: [PATCH 2/2] release: v4.11.3 --- CHANGES.rst | 4 ++++ invenio_records_resources/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index f9046dd6..dfc2f946 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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 diff --git a/invenio_records_resources/__init__.py b/invenio_records_resources/__init__.py index 6a6ac348..211f9ddd 100644 --- a/invenio_records_resources/__init__.py +++ b/invenio_records_resources/__init__.py @@ -10,6 +10,6 @@ from .ext import InvenioRecordsResources -__version__ = "4.11.2" +__version__ = "4.11.3" __all__ = ("__version__", "InvenioRecordsResources")