Customize an element link on the show item page

What’s the best way to customize a metadata link to make it searchable on the items show.php page? In other words, rather than just linking to the element_id per the Search by Metadata plug-in, I’d rather have it search several element id’s at once (or use the solr search), e.g., instead of “Relation” just searching on element_id = 46 it would also search 50 (title) and 43 (identifier).

Is it just links from Search by Metadata that you’re trying to change?

Yes - specifically, as mentioned, the Relation link.

That’s going to require you to change the plugin so it uses a different query. The query is defined here, and you’d need to add extra “inner” arrays with your other properties specified and with joiner set to OR.

1 Like

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.