Skip to content

Autocomplete does not work before 6 characters are typed #74

@YassineALLAL

Description

@YassineALLAL

The twofishes prefix index doesn't seem to be correctly built causing the autocomplete to not work untill 6 characters.

r => bestWoeTypes.contains(r.woeTypeOrThrow) never matches because r.woeTypeOrThrow is an enum while bestWoeTypes is a list of integers (enum ordinals)

val (woeMatches, woeMismatches) = records.partition(r => bestWoeTypes.contains(r.woeTypeOrThrow))

A fix would be to remove the map(_.getValue) mapping and keep the enum type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions