Skip to content

Commit

Permalink
PHTG-111 Added reseach area field to search forms and fixed metadata …
Browse files Browse the repository at this point in the history
…view
  • Loading branch information
xaher committed Mar 15, 2024
1 parent 2ebe391 commit d570001
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
10 changes: 5 additions & 5 deletions src/main/resources/META-INF/resources/content/search/complex.xed
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@
<mir:template name="textInput"
xpath="condition[@field='id,isbn,mods.identifier']/@value" id="inputIdentifier1"
i18n="editor.search.mir.identifier" tooltip="editor.search.mir.identifier.tooltip" />
<!-- Institution -->
<mir:template name="selectInput"
xpath="condition[@field='category.top'][1]/@value" id="inputInst1"
i18n="editor.search.mir.institute" tooltip="editor.search.mir.institute.tooltip"
uri="xslStyle:items2options:classification:editorComplete:-1:children:mir_institutes" />
<!-- Forschungsfeld -->
<mir:template name="selectInput"
xpath="condition[@field='category.top'][1]/@value" id="inputResearchArea1"
i18n="editor.search.project.research_areas" tooltip="editor.search.project.research_areas.tooltip"
uri="xslStyle:items2options:classification:editorComplete:-1:children:research_areas"/>
<!-- RVK Sachgruppe -->
<mir:template name="selectInput"
xpath="condition[@field='category.top'][2]/@value" id="inputRVK1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@
<!-- Content -->
<mir:template name="textInput" xpath="condition[@field='content']/@value" id="inputContent1"
i18n="editor.search.derivate" tooltip="editor.search.derivate.tooltip"/>
<!-- Institution -->
<mir:template name="selectInput" xpath="condition[@field='category'][1]/@value"
id="inputInst1" i18n="editor.search.mir.institute"
tooltip="editor.search.mir.institute.tooltip"
uri="xslStyle:items2options:classification:editorComplete:-1:children:mir_institutes"/>
<!-- Forschungsfeld -->
<mir:template name="selectInput" xpath="condition[@field='category.top'][1]/@value" id="inputResearchArea1"
i18n="editor.search.project.research_areas" tooltip="editor.search.project.research_areas.tooltip"
uri="xslStyle:items2options:classification:editorComplete:-1:children:research_areas"/>
<!--Fulltext -->
<div class="form-group row">
<label for="inputFulltext1" class="col-md-3 col-form-label text-right">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@
<!-- Content -->
<mir:template name="textInput" xpath="condition[@field='content']/@value" id="inputContent1"
i18n="editor.search.derivate" tooltip="editor.search.derivate.tooltip"/>
<!-- Institution -->
<mir:template name="selectInput" xpath="condition[@field='category'][1]/@value" id="inputInst1"
i18n="editor.search.mir.institute"
tooltip="editor.search.mir.institute.tooltip"
uri="xslStyle:items2options:classification:editorComplete:-1:children:mir_institutes"/>
<!-- Forschungsfeld -->
<mir:template name="selectInput" xpath="condition[@field='category.top'][1]/@value" id="inputResearchArea1"
i18n="editor.search.project.research_areas" tooltip="editor.search.project.research_areas.tooltip"
uri="xslStyle:items2options:classification:editorComplete:-1:children:research_areas"/>
<!-- /xed:bind> TODO: realize search dependent on current user and state
<xed:bind xpath="boolean[@operator='or']" default="{$CurrentUser}" -->
<!-- xed:bind xpath="condition[@field='createdby']/@value" default="{$CurrentUser}" / -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ component.mods.metaData.dictionary.identifier.intern = Bestand Campus-Bib
component.mods.metaData.dictionary.oa = OA-Status
component.mods.metaData.dictionary.peer_review = Peer-Reviewed
component.mods.metaData.dictionary.publisher.creation = Name der Institution
component.mods.metaData.dictionary.research_areas = Forschungsbereich
component.mods.metaData.dictionary.research_fields = Forschungsbereich
component.mods.metaData.dictionary.rvk = RVK
editor.search.mir.rvk = RVK
editor.search.mir.rvk.tooltip = Auf der RVK basierende Sachgruppenklassifikation.
Expand Down

0 comments on commit d570001

Please sign in to comment.