Sorting
From DLXS Documentation
Sorting is available in all classes and is controlled by the collmgr sortflds
field. Sorting is configurable by collection in all classes.
Contents |
Text Class
The possible values for sorting in Text Class are "occur", "datea", "dated", "author", "title", "freq", which correspond to the pulldown menu items: "not sorted", "date ascending", "date descending", "author", "title", "frequency". The menu items will appear in the order listed in the collmgr field. It is best to place "occur" first as the default behavior is unsorted. You must have maps for maindate, mainauthor, and maintitle to support date, author, and title sorting.
Finding Aids
The possible values for sorting in Finding Aids Class are "occur", "title", "creator", "freq" which correspond to the pulldown menu items: "not sorted", "title", "creator","frequency". The menu items will appear in the order listed in the collmgr field. It is best to place "occur" first as the default behavior is unsorted. You must have maps for mainauthor and maintitle to support creator and title sorting.
Image Class
Image Class collections have customizable sortflds
. These are specified in the field_labels
field. Field abbreviations and matching display labels must be in the form abbrev:::field label, one per line.
Sorting Groups of Collections
Sorting on groups behaves differently in Image Class than it does in Text and Finding Aids Classes. In Image Class, the sort fields are set through the