LD4P / qa_server

A rails engine with questioning authority gem installed to serve as an authority search server with normalized results.
Apache License 2.0
6 stars 3 forks source link

Publisher cities returns duplicates #468

Open justinlittman opened 2 years ago

justinlittman commented 2 years ago

https://lookup.ld4l.org/authorities/search/local/publisher_cities_select_list?q=Copenhagen&maxRecords=8&lang=en&context=true&response_header=true&startRecord=1 returns dupes:

[{
    "id": "http://id.loc.gov/authorities/names/n79043343",
    "label": "Copenhagen (Denmark)",
    "uri": "http://id.loc.gov/authorities/names/n79043343"
}, {
    "id": "http://id.loc.gov/authorities/names/n79043343",
    "label": "Copenhagen (Denmark)",
    "uri": "http://id.loc.gov/authorities/names/n79043343"
}]
elrayle commented 2 years ago

@jimfhahn This looks like it might be a data issue. Can you take a look and confirm the source data is correct?

For this specific example, I see Copenhagen at line 172 and 688.

jimfhahn commented 2 years ago

thanks, I'll take a look.

jimfhahn commented 2 years ago

Ok, got it now, the other duplicate was Detroit.

Fixed and updated here: box link