Skip to content

feat: added multiple fields to search bar of child search section in weekly file processing tab - #394

Merged
mdiapenabc merged 14 commits into
devfrom
feat/weekly-file-search
Jun 30, 2026
Merged

feat: added multiple fields to search bar of child search section in weekly file processing tab #394
mdiapenabc merged 14 commits into
devfrom
feat/weekly-file-search

Conversation

@plakkara-bc

@plakkara-bc plakkara-bc commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Description

The weekly file child search now uses a two-path search approach instead of relying on the old single search call.

  • The child search bar still searches the same table in the Weekly File Processing tab.
  • It now calls the regular contacts filter API for fields the backend already allows.
  • It also calls a new dedicated child-search endpoint for Birth Place and Person ID ICM/MIS lookups.
  • The two result sets are merged and de-duplicated before showing them in the table.
  • I added a migration with indexes to keep those new searches fast.

Scope stayed limited to the Weekly File Processing child search table. The Eligibility List search and filters were not changed.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Automated/Unit tests
  • Manual tests (description below)
  • No new tests are required

Checklist

  • I have tested my changed locally
  • The code builds and pass all tests, No warning
  • I have made corresponding changes to the documentation

In Progress/Follow Up

@plakkara-bc
plakkara-bc requested a review from mdiapenabc June 26, 2026 17:27

@mdiapenabc mdiapenabc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should be using the existing contact search or amend it instead of creating search/wklcontact.

@saifrazabc saifrazabc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved for created new search api for weekly file processing

@plakkara-bc

Copy link
Copy Markdown
Contributor Author

Neither of the existing api's (search/filter api) have the migrations for person id mis/icm and birth place. So I created a separate search api for the weekly file processing alone that filters person id mis/icm and birth place. On the UI, I'm invoking both the old search api and the new api and combing both the results.

@plakkara-bc plakkara-bc changed the title feat: created new search api for weekly file processing feat: added multiple fields to search bar of child search section in weekly file processing tab Jun 29, 2026
Weekly child search now uses getAllContacts with an OR filter on searchText
(AKA-aware) plus person ID and birth place columns. Filter like values are
escaped consistently with fullTextSearch.
@mdiapenabc
mdiapenabc merged commit c02a5b9 into dev Jun 30, 2026
20 checks passed
@mdiapenabc
mdiapenabc deleted the feat/weekly-file-search branch June 30, 2026 05:09
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