Searching FAQ

From EPrints Documentation
Revision as of 17:05, 8 February 2010 by Pm705 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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