#1207 Place Auto-complete

phpGedView
open
nobody
5
2010-09-07
2010-09-07
Thomas52
No

At one time working very well, auto-complete (or auto-suggestions) for places now seems somewhat dis-functional.
Entering "new orleans" results in a drop-down list of (1) Louisiana, (2) New Orleans, Orleans, Louisiana and (3) Orleans, Louisiana. Logically the "suggested" list should include all places starting with "new orleans" rather than jump to the state or county.
Secondly, the ability to use the keyboard and hit 'tab' to rotate through the "suggestion list" no longer works, and I must now move to the mouse to select an option. When working with the keyboard (as in entering places,) the option to CONTINUE using the keyboard should be enabled.

Discussion

  • Greg Roach
    Greg Roach
    2010-09-07

    IIRC, This bug was caused by a fix to an earlier bug.

    The code uses the DB to find names, and then filters them in PHP. The DB works with diacritics (Orléans versus Orleans). The PHP filtering (which got rid of the bad hits) didn't handle the diacritics, and was failing to match them. Removing this filtering had this side effect......