This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Currently under embargo --> | |
<dams:Object rdf:about="http://library.ucsd.edu/ark:/20775/xx00000012"> | |
<dams:title> | |
<mads:Title> | |
<mads:authoritativeLabel>#12: Curator: Third Party Copyright, License Override (Embargoed)</mads:authoritativeLabel> | |
<mads:elementList rdf:parseType="Collection"> | |
<mads:MainTitleElement> | |
<mads:elementValue>#12: Curator: Third Party Copyright, License Override (Embargoed)</mads:elementValue> | |
</mads:MainTitleElement> | |
</mads:elementList> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Facet | |
def checked_one_liner?(field,value,params) | |
params['f'] && params['f'][field] && params['f'][field].include?(value) | |
end | |
def checked?(field,value,params) | |
params.has_key?('f') && params['f'].has_key?(field) && params['f'][field].include?(value) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'active-fedora', github: 'projecthydra/active_fedora', branch: 'master' | |
gem 'linkeddata' |
NewerOlder