Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to sort results by date in resource discovery?

    • Article Type: General
    • Product: DigiTool
    • Product Version: 3

    Description:
    Where to find documentation to add a sort by "date"choice in RD?

    Resolution:
    Please refer to the last section of the "Digitool System Configuration Guide".
    Below is the essential information from it:

    4.4.2.1 Definition
    Sort is defined in two configuration files in the silo’s tab directory. The first sort definitions are defined in the table /exlibris/dtl/u3_1/dtle/tab/tab_sort. Tab_sort definitions are those that are used to build the database’s sort index. The Resource Discovery’s availability of these defined sort codes are defined in the general configuration file
    /exlibris/dtl/u3_1/gen01/tab/www_r_silo_conf.xml.

    4.4.2.2 Configuration

    As mentioned, the tab directory file tab_sort holds the sort code definitions for the
    silo. An example of the default setup of sort codes:
    !1 2 3 4 5 6 7 8 9 10 1 12 13 4 15 16 7 18 9
    !!-!!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!-!!
    01 102## a 00 00
    02 103## a 00 00
    03 101## a 00 00
    04 MED02 b 00 00

    Each row in tab_sort represents a different Dublin Core internal tag by which the sort codes will be built.

    To activate the sortability options from the Resource discovery, the appropriate section of the www_r_silo_conf.xml file must be defined. The following represents a sample entry for sorting title with sort code 03 Ascending and secondary sort on Creator Ascending:
    <sort_codes>
    <sort_code>
    <code>03---A01---A</code>
    <sort_name lng="ENG">Title/Creator</sort_name>
    <option_name lng="ENG">Title</option_name>
    </sort_code>
    </sort_codes>

    Additional Information

    sort date


    • Article last edited: 10/8/2013