Skip to content

[Bug]: Search not working with geodatasets #563

Open
@cirquelar

Description

Checked for duplicates

Yes - I've already checked

Describe the bug

I loaded a geodataset and set a search variable. When I enter a name and click the Magnifying Glass icon (i.e. commit the search), nothing happens. The console errors out with:

main.a9e97075.js:2 Uncaught TypeError: o[a].toLowerCase is not a function
    at main.a9e97075.js:2:1982892
    at t.eachLayer (main.a9e97075.js:2:330997)
    at ie (main.a9e97075.js:2:1982778)
    at HTMLDivElement.ee (main.a9e97075.js:2:1981164)
    at HTMLDivElement.<anonymous> (988.bb63e3cf.js:2:3810157)

What did you expect?

I expected the search to return the feature I entered.

Reproducible steps

1. add a geodataset
2. add a search variable for the layer
3. search for feature by entering text and clicking Magnifying glass icon.

Environment

- Version of this software: 2.11
- Operating System: Windows 11

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions