TAMULib / dspace-angular

DSpace 7.x (and above) User Interface built on Angular.io
https://wiki.lyrasis.org/display/DSDOC7x/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

[DSpace 7 Upgrade] Reimplement Capstones theme #3

Closed jsavell closed 9 months ago

jsavell commented 11 months ago

https://oaktrust.library.tamu.edu/handle/1969.1/94972 https://oaktrust.library.tamu.edu/handle/1969.1/94973

https://github.com/TAMULib/DSpace/blob/tamu-dspace-6.3/dspace/config/xmlui.xconf#L187

https://github.com/TAMULib/DSpace/tree/tamu-dspace-6.3/dspace/modules/xmlui/src/main/webapp/themes/Mirage2Ext/Capstones

jsavell commented 10 months ago

The 6x version of the Capstones theme does not include a link for the Client/sponsor field: https://oaktrust.library.tamu.edu/handle/1969.1/188695

For acceptance, the 7x version of the theme needs to have the anchor tag removed, preferably by utilizing a different, existing dspace angular provided component.

wwelling commented 10 months ago

dc.contributor.sponsor falls under ValueListBrowseDefinition within dc.contributor.* causing the generic item page field to render as a browser definition link.

This is determined by asynchronous request https://api-dev.library.tamu.edu/dspace7/api/discover/browses/search/byFields?fields=dc.contributor.author,dc.creator

{
  "id" : "author",
  "browseType" : "valueList",
  "dataType" : "text",
  "sortOptions" : [ {
    "name" : "title",
    "metadata" : "dc.title"
  }, {
    "name" : "dateissued",
    "metadata" : "dc.date.issued"
  }, {
    "name" : "dateaccessioned",
    "metadata" : "dc.date.accessioned"
  } ],
  "order" : "ASC",
  "type" : "browse",
  "metadata" : [ "dc.contributor.*", "dc.creator" ],
  "_links" : {
    "entries" : {
      "href" : "https://api-dev.library.tamu.edu/dspace7/api/discover/browses/author/entries"
    },
    "items" : {
      "href" : "https://api-dev.library.tamu.edu/dspace7/api/discover/browses/author/items"
    },
    "self" : {
      "href" : "https://api-dev.library.tamu.edu/dspace7/api/discover/browses/author"
    }
  }
}