Previously, if you entered a council name in the search box (rather than clicking the autocomplete), it wouldn't work as it only filtered by postcodes. This has now been rectified.
Additionally, any links to a council (from contract detail pages, as well as the clickable autocomplete) now direct to the home page with the council pre-filtered, and the separate url pattern for the council page has been removed (to reduce redundancy).
The searching by council searches for a case-insensitive exact version of the council - it could use case insensitive contains lookup instead, but I wasn't sure if this could add more complications rather than fewer, especially given the autocomplete.
Fixes #36
Previously, if you entered a council name in the search box (rather than clicking the autocomplete), it wouldn't work as it only filtered by postcodes. This has now been rectified.
Additionally, any links to a council (from contract detail pages, as well as the clickable autocomplete) now direct to the home page with the council pre-filtered, and the separate url pattern for the council page has been removed (to reduce redundancy).
The searching by council searches for a case-insensitive exact version of the council - it could use case insensitive contains lookup instead, but I wasn't sure if this could add more complications rather than fewer, especially given the autocomplete.