mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
MOB-823 - explore filters - iconic taxa selection bug
This commit is contained in:
@@ -750,7 +750,7 @@ const FilterModal = ( {
|
||||
} else {
|
||||
const selectedTaxon = realm
|
||||
?.objects( "Taxon" )
|
||||
.filtered( "name CONTAINS[c] $0", taxonName );
|
||||
.filtered( "name ==[c] $0", taxonName );
|
||||
const iconicTaxon = selectedTaxon.length > 0
|
||||
? selectedTaxon[0]
|
||||
: null;
|
||||
|
||||
Reference in New Issue
Block a user