From c703bfc64f3d38d4c052a358ea0aec33498db53a Mon Sep 17 00:00:00 2001 From: Ramon Bartl Date: Mon, 12 Aug 2019 10:23:39 +0200 Subject: [PATCH 1/2] Removed `is_active` filter for Batches --- bika/lims/browser/batch/analysisrequests.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bika/lims/browser/batch/analysisrequests.py b/bika/lims/browser/batch/analysisrequests.py index 8c44f87fbb..593a89ed6c 100644 --- a/bika/lims/browser/batch/analysisrequests.py +++ b/bika/lims/browser/batch/analysisrequests.py @@ -26,8 +26,7 @@ class AnalysisRequestsView(BaseView): def __init__(self, context, request): super(AnalysisRequestsView, self).__init__(context, request) - self.contentFilter = {'portal_type': 'AnalysisRequest', - 'getBatchUID': api.get_uid(self.context), - 'sort_on': 'created', - 'sort_order': 'reverse', - 'is_active': True} + self.contentFilter = {"portal_type": "AnalysisRequest", + "getBatchUID": api.get_uid(self.context), + "sort_on": "created", + "sort_order": "reverse"} From a533cdfc1709a751247c6cefb1cf79064c7481ab Mon Sep 17 00:00:00 2001 From: Ramon Bartl Date: Mon, 12 Aug 2019 10:33:47 +0200 Subject: [PATCH 2/2] Changelog updated --- CHANGES.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.rst b/CHANGES.rst index f1bef17961..9c3ddd49f5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -19,6 +19,7 @@ Changelog **Fixed** +- #1421 Fix Search Query for Batches Listing - #1414 Occasional "OSError: [Errno 24] Too many open files" in frontpage