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 Search Query for Batches Listing #1421

Merged
merged 3 commits into from
Aug 12, 2019
Merged

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR fixes the search query for the Batches listing, because inactive Samples were not shown.

The used search query always contained "is_active": True and the review_state query.

Therefore, searching for "review_state": "cancelled" AND "is_active": True returned always 0 results.

Current behavior before PR

Batches did not list inactive, e.g. cancelled, rejected etc. Samples

Desired behavior after PR is merged

Batches list inactive, e.g. cancelled, rejected etc. Samples

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski requested a review from xispa August 12, 2019 08:32
@ramonski ramonski changed the title Fix Search Query for Batches Fix Search Query for Batches Listing Aug 12, 2019
@xispa xispa merged commit b1a2443 into master Aug 12, 2019
@xispa xispa deleted the fix-search-query-for-batches branch August 12, 2019 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants