ixmaps / website2017

Website for the IXmaps project
https://www.ixmaps.ca
GNU Affero General Public License v3.0
4 stars 2 forks source link

MAP Adavanced wrong auto-complete for postal-code #77

Open Andrew-Clement opened 7 years ago

Andrew-Clement commented 7 years ago

It appears to refer to CC instead: pastedgraphic-3

colinmccann commented 7 years ago

We don't actually have autocompletes or submitter postcode, only for postcode of location in route, I believe (correct @agamba ?).

However, this is a bug - we should be clearing the autocomplete binding any time the dropdown is changed...

colinmccann commented 7 years ago

Fixed in 93a22713d40ccf5ce10100485530b8137109771c

We now remove the autocomplete binding if we have no autocomplete data.

Andrew-Clement commented 7 years ago

OK, I see that there is now no auto complete for Submitter postal code, but I'm puzzled as to why there is one for regular Postcode, especially when it appears to to produce odd results. An "M6" produces many options including my own , but then searching on them finds no routes. pastedgraphic-22 pastedgraphic-21

On 2017-04-02, at 4:37 AM, colinmccann notifications@github.com wrote:

We don't actually have autocompletes or submitter postcode, only for postcode of location in route, I believe (correct @agamba ?).

However, this is a bug - we should be clearing the autocomplete binding any time the dropdown is changed...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

colinmccann commented 7 years ago

@agamba would need to answer this - it's a backend question.

Perhaps autocomplete looks for any fragments of the string, but the query requires an exact match?