Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add filter option for "facsimile available" #361

Merged
merged 14 commits into from
Sep 16, 2020
Prev Previous commit
Next Next commit
add translation of facsimile facet
  • Loading branch information
peterstadler committed Sep 16, 2020
commit 156ead0e3eaaafe750da234ef06b7e435871d8b8
2 changes: 1 addition & 1 deletion modules/facets.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ declare %private function facets:display-term($facet as xs:string, $term as xs:s
case 'sex' return
if($term ='Art der Institution') then lang:get-language-string('organisationsInstitutions', $lang)
else lang:get-language-string('sex_' || $term, $lang)
case 'docTypeSubClass' case 'docStatus' case 'textType' return lang:get-language-string($term, $lang)
case 'docTypeSubClass' case 'docStatus' case 'textType' case 'facsimile' return lang:get-language-string($term, $lang)
case 'repository' return facets:display-term-repository($term)
default return str:normalize-space($term)
};
Expand Down