Sha256: bad0a2608f51c8341729492c7ed6442a1e8b7c06bc477f9481470ac68b8424b4
Contents?: true
Size: 362 Bytes
Versions: 13
Compression:
Stored size: 362 Bytes
Contents
# View Helper methods for Hydra Collections in search results module CollectionsSearchHelper # @param [String] collection_pid the pid of a collection # @return [String] the title of the collection if available, otherwise its pid def collection_name(collection_pid) Collection.load_instance_from_solr(collection_pid).title || collection_pid end end
Version data entries
13 entries across 13 versions & 1 rubygems