Sorting

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
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.
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 <code>sortflds</code>.  These are specified in the <code>field_labels</code> field.  Field abbreviations and matching display labels must be in the form abbrev:::field label, one per line.
==Sorting Groups of Collections==
==Sorting Groups of Collections==
-
Sorting on groups behaves differently in Image Class than it does in Text and Finding Aids Classes.  I
+
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

Revision as of 13:26, 21 August 2009

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

Personal tools