statonlab / Treesnap-website

TreeSnap Website
https://treesnap.org
GNU General Public License v3.0
4 stars 1 forks source link

Dashboard search predictability improvements #651

Closed zanecolesmith closed 1 month ago

zanecolesmith commented 3 months ago

The way TreeSnap handles keywords in searches by category could use a general review, but here are two examples of how the dashboard search function behaves unpredictably.

  1. Case sensitivity returns differing results in the TreeSnap web dashboard for species in the "Other (custom entry)" category, submitter, location, etc.

Examples: Lower case: image

Upper case: image

  1. It would be helpful for searches to "contain" keywords instead of enforcing "starts with" behavior. It's a bit hard to tell, but it seems like some keywords might have "starts with" and others may have "contains" behavior. Some entries appear unsearchable by species due to search keyword implementation:

Examples: Search by collector to return species in Other category: image

Search by species in Other using species keyword returns no results: image