See this forum post: https://forum.omeka.org/t/faceted-browse-how-to-show-values-of-related-items/30311. A user wants a browse row to include values from an item it links to.
A column currently shows values belonging to the item in that row. A linking property renders as a link labeled with the target's title, so a row can show that something is linked, but not the target's own values.
A new column type would need two properties configured: the one holding the link, and the one to display on the linked item. Reachable through the row's value and valueResource().
The column wouldn't be sortable, since sorting happens on the row's own fields, so getSortBy() would return null as item_set already does.
This covers the case where the row's own item holds the link. The reverse, where other items link to the row, is reachable through subjectValues() but is left out until someone asks for it.
See this forum post: https://forum.omeka.org/t/faceted-browse-how-to-show-values-of-related-items/30311. A user wants a browse row to include values from an item it links to.
A column currently shows values belonging to the item in that row. A linking property renders as a link labeled with the target's title, so a row can show that something is linked, but not the target's own values.
A new column type would need two properties configured: the one holding the link, and the one to display on the linked item. Reachable through the row's value and
valueResource().The column wouldn't be sortable, since sorting happens on the row's own fields, so
getSortBy()would return null asitem_setalready does.This covers the case where the row's own item holds the link. The reverse, where other items link to the row, is reachable through
subjectValues()but is left out until someone asks for it.