Wildbook icon indicating copy to clipboard operation
Wildbook copied to clipboard

Encounter React search doesn't display results for Bulk Import File name field

Open goddesswarship opened this issue 2 months ago • 7 comments

Expected behavior Searching for an encounter (/react/encounter-search) by bulk import file name displays encounters from that bulk import.

Current behavior Searching a bulk import by file name says there are no results.

QA notes

  1. Start an encounter search and in the Metadata section, enter the bulk import file name
Image
  1. Click Apply button. No results are displayed.
Image
  1. Open bulk import logs (Administer > Bulk Import Logs) and search for the file name. It confirms that an import with that file name exists.
Image

Tested in QA and the filter works correctly there. Tested in Sharkbook and Flukebook and both searches said there were no results even when the file name exists.

Community link https://community.wildme.org/t/change-to-bulk-import-task-view-affecting-workflow/5211

goddesswarship avatar Oct 09 '25 23:10 goddesswarship

Bug verified in prod sites, but is absent from QA. Is it possible that this resolves itself on the next upgrade cycle? @vkirkl @holmbergius @JasonWildMe

goddesswarship avatar Oct 09 '25 23:10 goddesswarship

Are all bulk import file names searches returning no results or just specific names searches?

erinz2020 avatar Oct 09 '25 23:10 erinz2020

So far, it's any file name. I tested with a few different types (all letters, alphanumeric, mixed case, etc.).

goddesswarship avatar Oct 09 '25 23:10 goddesswarship

So far, it's any file name. I tested with a few different types (all letters, alphanumeric, mixed case, etc.).

thanks, i replicated in arw

erinz2020 avatar Oct 10 '25 00:10 erinz2020

Yes! Choose any name from the drop-down in a prod site and see if you get any results. I didn't have the same problem in QA. If a file name said no results there, it's because the import had 0 encounters.

goddesswarship avatar Oct 10 '25 00:10 goddesswarship

i checked api response on arw, open search is returning empty array, it might have something to do with open search and field re-indexing? i'm just guessing, jon is the open search expert (sorry jon if I added more work on you)

erinz2020 avatar Oct 10 '25 00:10 erinz2020

@naknomum OpenSearch has a new present for you

goddesswarship avatar Oct 10 '25 16:10 goddesswarship