EQAR / eqar_frontend

(archived - see new repository deqar_frontend) ReactJS admin frontend for the DEQAR database.
https://github.com/EQAR/deqar_frontend
0 stars 0 forks source link

duplicate records #126

Closed gygabor closed 6 years ago

gygabor commented 6 years ago

Backend sends some institutions twice. request url: https://backend.test.deqar.eu/adminapi/v1/select/institutions/?query=central+european+univer&eter_id=&deqar_id=

response body:

{
    "count": 3,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1320,
            "eter_id": "HU0023",
            "deqar_id": "DEQARINST1320",
            "name_primary": "Central European University (Budapest)",
            "website_link": "http://www.ceu.hu",
            "countries": [
                {
                    "country": "Hungary",
                    "city": "Budapest",
                    "lat": 0,
                    "long": 0
                }
            ]
        },
        {
            "id": 1320,
            "eter_id": "HU0023",
            "deqar_id": "DEQARINST1320",
            "name_primary": "Central European University (Budapest)",
            "website_link": "http://www.ceu.hu",
            "countries": [
                {
                    "country": "Hungary",
                    "city": "Budapest",
                    "lat": 0,
                    "long": 0
                }
            ]
        },
        {
            "id": 3565,
            "eter_id": null,
            "deqar_id": "DEQARINST3565",
            "name_primary": "Private educational establishment is an «International college of ecology – informations safety  Central European university»",
            "website_link": "www.keitk.at.ua",
            "countries": [
                {
                    "country": "Ukraine",
                    "city": "",
                    "lat": null,
                    "long": null
                }
            ]
        }
    ]
}
JoshBone commented 6 years ago

I close this, and created an issue under the backend here: https://github.com/EQAR/eqar_backend/issues/195