About link in search leading to failure page

Platform (Android, iOS, Website): Website

Browser, if a website issue (Firefox, Chrome, etc) : Chrome

Screenshots of what you are seeing (instructions for taking a screenshot on computers and mobile devices: https://www.take-a-screenshot.org/):

Step 1: Enter Toronto in the search bar in the top left

Step 2: From the results pick the top option ‘Toronto, ON, CA’ and select the About link

Step 3: Result is ending up here https://www.inaturalist.org/places/search?q=null

Also fails if you search for Ottawa, but ‘Hamilton’ which is also a county in Ontario works fine.

Toronto doesn’t have a “slug” for some reason: https://api.inaturalist.org/v1/places/27608. i suppose one way to address this would be to add a slug, or i suppose the search could send you to the places page based on place id when slug doesn’t exist.

What is a slug, and what does it do?

1 Like

a slug is a human-friendly identifier. the iNaturalist numeric place id for the the United States is 1, but its slug is united-states. similarly, Toronto’s place id is 27608, but its slug should be something like toronto-on-ca.

1 Like

How can it even get added ? It is a standard place, which means not editable even by curators

i suppose staff would have to add it, and find any others with blank slugs while they’re at it.

1 Like

Added to my weekly report.

1 Like

Thanks for the fix!

1 Like