Changeset 30635

Show
Ignore:
Timestamp:
28.07.2016 13:35:15 (3 years ago)
Author:
kjdon
Message:

tidied this up to remove displayItems that are not needed. can get the strings from the dictionaries, so don't need translations here

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml

    r30086 r30635  
    2222  </security> 
    2323  <metadataList> 
    24     <metadata lang="en" name="creator"></metadata> 
    25     <metadata lang="en" name="maintainer"></metadata> 
     24    <metadata lang="en" name="creator">Greenstone Project</metadata> 
     25    <metadata lang="en" name="maintainer">Greenstone Project</metadata> 
    2626    <metadata lang="en" name="public">true</metadata> 
    2727  </metadataList> 
     
    4343  <search type="lucene"> 
    4444    <level name="section"> 
    45       <displayItem lang="en" name="name">chapter</displayItem> 
     45      <displayItem name="name" key="level.chapter"/> 
    4646    </level> 
    4747    <level name="document"> 
    48       <displayItem lang="en" name="name">book</displayItem> 
     48      <displayItem name="name" key="level.book"/> 
    4949    </level> 
    5050    <defaultLevel name="section"/> 
    51     <index name="allfields"> 
    52       <displayItem lang="en" name="name">all fields</displayItem> 
    53     </index> 
    54     <index name="text"> 
    55       <displayItem lang="en" name="name">text</displayItem> 
    56     </index> 
    57     <index name="dc.Title,Title"> 
    58       <displayItem lang="en" name="name">titles</displayItem> 
    59     </index> 
    60     <index name="dc.Subject"> 
    61       <displayItem lang="en" name="name">subjects</displayItem> 
    62     </index> 
    63     <index name="dls.Organization"> 
    64       <displayItem lang="en" name="name">organisations</displayItem> 
    65     </index> 
    66     <sort name="rank"> 
    67       <displayItem lang="en" name="name">rank</displayItem> 
    68     </sort>     
     51    <index name="allfields"/> 
     52    <index name="text"/> 
     53    <index name="dc.Title,Title"/> 
     54    <index name="dc.Subject"/> 
     55    <index name="dls.Organization"/> 
     56    <sort name="rank"/> 
    6957    <sort name="dls.Organization"> 
    70       <displayItem lang="en" name="name">organisation</displayItem> 
     58      <displayItem name="name" key="Organisation.buttonname"/> 
    7159    </sort> 
    72     <sort name="none"> 
    73       <displayItem lang="en" name="name">natural (build) order</displayItem> 
    74     </sort> 
     60    <sort name="none"/> 
    7561    <defaultSort name="rank"/> 
    7662    <searchType name="plain"/>