acdh-oeaw / viecpro-backend-devops

MIT License
0 stars 0 forks source link

Fix Autocomplete and hierarchy PKs #77

Open kaggl opened 4 months ago

kaggl commented 4 months ago

When using the autocomplete endpoint (https://viecpro.acdh-dev.oeaw.ac.at/visualisations/entityautocomplete/) or hiarchy endpoint (https://viecpro.acdh-dev.oeaw.ac.at/visualisations/api/Person/333089/Normal/down) some pks seem to be mismatched when compared to the database IDs.

example: ID 333089 in the hierarchy and autocomplete endpoint this id belongs to Leopold Attems image while in the typesense database this ID belongs to Georg Seifried Dietrichstein image

A lot of them are working just as intended

gregorpirgie commented 4 months ago

@kaggl

Can you test, if the error disappears if you change the url where the data is fetched from in viecpro-nuxt" to "https://viecpro-backend.acdh-ch-dev.oeaw.ac.at/visualisations/api/"?

The data is fetched from another instance atm, hence the ids might be out of sync.

kaggl commented 4 months ago

still not working unfortunately:

image vs image