Quicksearch by individual ID omits taxonomy from match summary
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.
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
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 Can you suggest how we can disable match by UUID in quick search?
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.