Closed vinoroidski closed 3 years ago
Better fix found: I simply removed the header for the carousel on search-result.component.html which was as follows: <app-slider [items]="sliderItems" i18n-heading="Artworks label@@artworks" heading="Artworks">
to
<app-slider [items]='sliderItems' i18n-heading="Results label@@results">
We already write "Search Results" at the top of the page and do not need an additional heading for the Carousel element.
I also changed the link generation as discussed - now the links for all elements in Search Results are correct.
Results
Before image
After image
Describe the bug When a user uses the search bar to conduct a search on openartbrowser, they receive a search results page with the title "Artwork" and search results which include elements of all categories (i.e. not just "Artworks" - for example "Genres", "Artists", "Locations", etc.). The links of returned elements are broken in a few cases as we statically assign an "artwork" prefix to the URL of our returned elements. This should be changed so as to ensure that the title of the page is "All Search Results" and all links of returned elements work correctly.
To Reproduce Steps to reproduce the behavior:
Expected behavior The title of the page should be changed for all languages to conform to "All Search Results" and all links for returned elements should resolve to the chosen element.