User Tools

Site Tools


en:user_advanced:gs3_search_field_display

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:user_advanced:gs3_search_field_display [2016/07/27 23:07] – [Indexes] kjdonen:user_advanced:gs3_search_field_display [2016/07/27 23:49] – [Indexes] kjdon
Line 26: Line 26:
 Display values for indexes are done in a similar way to levels, except that the values are looked up in metadata_names.properties, rather than in the chain of servicename.properties. Display values for indexes are done in a similar way to levels, except that the values are looked up in metadata_names.properties, rather than in the chain of servicename.properties.
  
-<code><index name="Title/></code>+<code><index name="Title"/></code>
  
-No displayItems, so we look up Title in metadata_names+No displayItems, so we look up Title.buttonname in metadata_names
 + 
 +<code> 
 +<index name="dc.Title,Title">  
 +  <displayItem name="name" key="Title.buttonname"/> 
 +  <displayItem name="name" lang="en">book titles</displayItem> 
 +</index> 
 +</code> 
 + 
 +For English, we will display book titles. For other languages we will display the value from the dictionary for Title.buttonname.
 ==== Dictionary Customization ==== ==== Dictionary Customization ====