Searching FAQ

From EPrints Documentation
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