Sorting

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
(Sorting Groups of Collections)
Current revision (17:32, 23 August 2009) (edit) (undo)
(Sorting Groups of Collections)
 
Line 17: Line 17:
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 group's collmgr entry, with appropriate <code>sortfld</code> and <code>field_labels</code> set as they are in a collection.
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 group's collmgr entry, with appropriate <code>sortfld</code> and <code>field_labels</code> set as they are in a collection.
-
In Finding Aids Class and Text Class, sorting is determined by the middleware, using the common set of fields available for all collections in a group.  For reasons as yet undetermined, users may see sorting features differently on groups where the <code>sortfld</code> values are in different orders.  It may be prudent to ensure that the common sort options are in the same order in all the collections in the group, so that all users have a consistent experience.  Additionally, options that may seem useless within a collection (title sorting with a set of collected works where each title is in the form "The Collected Works of a Famous Writer, Vol. 2," for example) may have more value with a group of assorted collections including those collected works.
+
In Finding Aids Class and Text Class, sorting is determined by the middleware, using the common set of fields available for all collections in a group.  For reasons as yet undetermined, users may see sorting features differently on groups where the <code>sortfld</code> values are in different orders.  It may be prudent to ensure that the common sort options are in the same order in all the collections in the group, so that all users have a consistent experience.  Additionally, options that may seem useless within a collection (title sorting within a set of collected works where each title is in the form "The Collected Works of a Famous Writer, Vol. 2," for example) may have more value within a group of assorted collections including those collected works.

Current revision

Sorting is available in all classes and is controlled by the collmgr sortflds field. Sorting is configurable by collection in all classes.

Contents

[edit] 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.

[edit] 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.

[edit] Image Class

Image Class collections have customizable sortflds. Display labels for sort fields may be customized as well. See contextual Collmgr documentation for more information about each field.

[edit] 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 group's collmgr entry, with appropriate sortfld and field_labels set as they are in a collection.

In Finding Aids Class and Text Class, sorting is determined by the middleware, using the common set of fields available for all collections in a group. For reasons as yet undetermined, users may see sorting features differently on groups where the sortfld values are in different orders. It may be prudent to ensure that the common sort options are in the same order in all the collections in the group, so that all users have a consistent experience. Additionally, options that may seem useless within a collection (title sorting within a set of collected works where each title is in the form "The Collected Works of a Famous Writer, Vol. 2," for example) may have more value within a group of assorted collections including those collected works.

Personal tools