Skip to content

Conversation

@jameslinnell
Copy link
Contributor

@jameslinnell jameslinnell commented Feb 10, 2026

Overview

Jira ticket: NDR-363

Description

By default Search returns all items if no filters are used. This now does not return deleted items.

Context

We don't want deleted items by default in search results.

Checklist

Tasks for all changes:

  • 1. I have linked this PR to its Jira ticket.
  • 2. I have run git pre-commits.
  • 3. I have added and/or updated relevant tests.
  • 4. I have updated relevant documentation.
  • 5. I have considered the cross-team impact (and have PR approval from both Core & Demographics if necessary).
  • 6. I have successfully deployed this change to a sandbox and witnessed unit and e2e tests passing:

megan-bower4
megan-bower4 previously approved these changes Feb 11, 2026
@@ -124,14 +128,11 @@ def _search_tables_for_documents(
return document_resources or None

def _get_filter_expression(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this method not just be replaced? or the _build_filter_expression method?

megan-bower4
megan-bower4 previously approved these changes Feb 11, 2026
@github-actions
Copy link

Code security issues found

View full details here.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants