hochschule-darmstadt-UAS / ddk-artbrowser

Exploring the world of arts using open data
http://openartbrowser.org/
MIT License
1 stars 1 forks source link

Wrong Artwork Links when using fulltext search #100

Open mauamy opened 3 years ago

mauamy commented 3 years ago

Describe the bug When entering a term for a full-text search the resulting artworks all have a wrong link and therefore cannot be used to go the related page. For me it looks like for each artwork the found iconclass is used for the link instead of the artwork id.

To Reproduce Steps to reproduce the behavior:

  1. Enter '61B2' into the search bar and press enter (search without choosing one of the suggestions)
  2. Click on a few of the resulting artworks
  3. You should see that each link directs you to /artwork/<iconclass> instead of the actual artwork link

Expected behavior When clicking on the artwork you should be directed to the correct artwork's page.

Screenshots bug1 bug2