Skip to content

Faceted Search Results: Displaying the Provider Link next to Repository Link [JIRA CVRE-228] #229

Description

It would be good to display the Provider Link in addition to Repository Source Link in the search results for all results coming via "repository" application (thus including "archives" application).

If the JSON document of the result contains field "ref", then this field should be displayed, otherwise no field should be displayed.

Example of Elastic JSON Document:
{noformat}
{
"_index" : "cendari",
"_type" : "document",
"_id" : "be4e8fb4-360b-4452-9d50-0316ea9ab42b",
"_score" : 3.464241,
"_source":{

"application": ["repository"],

"resourceId": ["be4e8fb4-360b-4452-9d50-0316ea9ab42b"],

"format": ["application/rdf+xml"],

"dataspaceId": ["7ebe7309-6d5f-4e50-ad9c-ad53c031e0d1"],

"url": ["https://repository.cendari.dariah.eu/dataset/f58fdd0e-a8ef-4bb9-9d2e-c9e171dcc38b/resource/be4e8fb4-360b-4452-9d50-0316ea9ab42b"],

"project": ["The European Library & Europeana - Newspapers Project"],

"cleaner_text": ["Action fran\u00e7aise Vaugeois, Henri (1864-1916). Directeur de publication Daudet, L\u00e9on (1867-1942). Directeur de publication Maurras, Charles (1868-1952). Directeur de publication 1915-05-21 L'Action Fran\u00e7aise"],

"uri": ["https://repository.cendari.dariah.eu/dataset/f58fdd0e-a8ef-4bb9-9d2e-c9e171dcc38b/resource/be4e8fb4-360b-4452-9d50-0316ea9ab42b"],

"creatorName": ["Action fran\u00e7aise"],

"ref": ["http://data.theeuropeanlibrary.org/BibliographicResource/3000113924303"],

"text": ["Action fran\u00e7aise Vaugeois, Henri (1864-1916). Directeur de publication Daudet, L\u00e9on (1867-1942). Directeur de publication Maurras, Charles (1868-1952). Directeur de publication 1915-05-21 L'Action Fran\u00e7aise"],

"language": ["fr"],

"contributorName": ["Daudet, L\u00e9on (1867-1942). Directeur de publication", "Maurras, Charles (1868-1952). Directeur de publication", "Vaugeois, Henri (1864-1916). Directeur de publication"],

"date": ["1915-05-21"],

"publisher": ["Action fran\u00e7aise (Paris)"],

"title": ["L'Action Fran\u00e7aise"],

"groups_allowed": ["the-european-library-europeana-newspapers-project"]

}
{noformat}

Proposal: the title for the "ref" link could be named "View at provider" or something better.

reported by NatasaBulatovic on 2016-01-05T15:02:35.786+0100

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions