Not sure this is the best way to fix this, but I think it's at least a way.
This PR alters the searchingInNeed function within the businesses template to return 'false' both when the location.pathname is /businesses/all and when it is /businesses. The latter should only match when /businesses is the only URL path and should account for an optional trailing slash.
Not sure this is the best way to fix this, but I think it's at least a way.
This PR alters the
searchingInNeed
function within thebusinesses
template to return 'false' both when thelocation.pathname
is/businesses/all
and when it is/businesses
. The latter should only match when/businesses
is the only URL path and should account for an optional trailing slash.Fixes #370
Pages/Interfaces that will change
Screenshots / video of changes
Steps to test
/businesses/all
page