Image via Wikipedia
Ever since the Uniting Church had their website re-done back in 2008, they have had an Activity search in the top right hand corner. And it works great… mostly. There was one big problem – sometimes it wouldn’t return results that should be there. For example, if you type in “greenwood” it would return that there were no Churches within 15km of Greenwood. Despite having a Greenwood Uniting Church in Greenwood. However, if you were to search “Kingsley” – the suburb directly north of Greenwood, it would return Greenwood Uniting Church as the closest church.
When I started at the Uniting Church, this was one of the problems I had noticed with the website. But I didn’t know what was causing the problem. Until one day, when talking about it with my manager, she said that if you typed the state as well, you got the correct result. A-ha! my mind went, so that’s what the problem was.
See, our activity search uses the Google maps API, and there’s more than one Greenwood in Australia. Likewise, there’s more than one Mount Pleasant. So what was happening was that the search would find the first Greenwood, which was invariably not in WA. But our users, coming to the website of the Uniting Church in Western Australia would assume that the activity search would search WA first. Having it search other states is completely useless to us, but there seemed to be no setting in the plugin that we were using to set it to only search WA.
So now, if you search for “Greenwood” you will receive results for “Greenwood, WA” and find the details of the Greenwood Uniting Church. All I needed was for someone to discover why it was doing what it was doing, and my A-Ha moment came as to how to fix it.