Wildbook icon indicating copy to clipboard operation
Wildbook copied to clipboard

Quicksearch by individual ID omits taxonomy from match summary

Open goddesswarship opened this issue 8 months ago • 3 comments

Expected behavior Using the quicksearch in the top nav of a Wildbook suggests matches by individual ID and displays its taxonomy as you type.

Current behavior Using the quicksearch in the top nav of a Wildbook suggests matches by individual ID but sometimes omits taxonomy.

Image

Related to https://github.com/WildMeOrg/Wildbook/issues/1245

Community link https://community.wildme.org/t/searching-for-ids-now-giving-list-of-weird-results/4855/ https://community.wildme.org/t/search-bar-in-new-flukebook-ui-has-redundancies/4982 https://community.wildme.org/t/search-is-broken-in-flukebook/5144

goddesswarship avatar Apr 25 '25 23:04 goddesswarship

the reason quicksearch comes up with no taxonomy for some individuals, is that they truly do not have a taxonomy set on the individual. sadly/weirdly(/wrongly?) the individuals.jsp page uses getGenusSpeciesDeep() to display taxonomy there. this method will dig deeper into encounter-based taxonomies to find a value if there is none set on the individual.

it would seem to me to be a bad thing to use the encounter-sourced taxonomy in search, but maybe thats just me?

naknomum avatar May 01 '25 18:05 naknomum

@naknomum Can you suggest how we can disable match by UUID in quick search?

JasonWildMe avatar Sep 12 '25 17:09 JasonWildMe

per @holmbergius I'm going to split this issue into two tickets: one to track quicksearch matching to UUID and another to track quicksearch omitting taxonomies.

goddesswarship avatar Sep 12 '25 21:09 goddesswarship