Skip to content

Duplicate entries in API response when selecting waypoint #406

@jallepalli-harsh

Description

@jallepalli-harsh

Hi, I noticed this issue on the website. When searching for a waypoint, there were duplicate entries in the API response. The same was reflected in the UI. I could not find the backend repo so raising the issue here.

Image

API Response:

[
  {
    "title": "Poznan, Greater Poland Voivodeship, Poland",
    "description": "https://www.openstreetmap.org/relation/2456294",
    "selected": false,
    "addresslnglat": [
      16.9335199,
      52.4082663
    ],
    "sourcelnglat": [
      16.9335199,
      52.4082663
    ],
    "displaylnglat": [
      16.9335199,
      52.4082663
    ],
    "key": 0,
    "addressindex": 0
  },
  {
    "title": "Poznan, Poznań County, Greater Poland Voivodeship, Poland",
    "description": "https://www.openstreetmap.org/relation/165941",
    "selected": false,
    "addresslnglat": [
      16.9197326,
      52.4006632
    ],
    "sourcelnglat": [
      16.9197326,
      52.4006632
    ],
    "displaylnglat": [
      16.9197326,
      52.4006632
    ],
    "key": 1,
    "addressindex": 1
  },
  {
    "title": "Poznań, Poznań County, Greater Poland Voivodeship, Poland",
    "description": "https://www.openstreetmap.org/relation/2989158",
    "selected": false,
    "addresslnglat": [
      16.9197326,
      52.4006632
    ],
    "sourcelnglat": [
      16.9197326,
      52.4006632
    ],
    "displaylnglat": [
      16.9197326,
      52.4006632
    ],
    "key": 2,
    "addressindex": 2
  }
]

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