Difference between revisions of "Searching FAQ"

From EPrints Documentation
Jump to: navigation, search
 
 
Line 1: Line 1:
 +
[[Category:FAQ]]
 
Searching and sorting related questions.
 
Searching and sorting related questions.
  

Latest revision as of 17:05, 8 February 2010

Searching and sorting related questions.

How do I sort subjects or sets by key, not the description text? You need to change the value used to order the values in the field. Add this code to the subjects field config in ArchiveMetadataFieldsConfig?

make_single_value_orderkey=>sub { my( $field,$value )=@_; return $value; }

The new ordering won't appear until you either wait for the indexer to do it, or run

recommit_dataset archiveid subject