Sha256: a225fbf5108ed3d2344abaeaf484fb768e4e2ad45c69af666ac155adba9be0bb
Contents?: true
Size: 382 Bytes
Versions: 19
Compression:
Stored size: 382 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) #TODO this can be loaded from solr Collection.find(collection_pid).title || collection_pid end end
Version data entries
19 entries across 19 versions & 1 rubygems