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

    How to force descending year sort order for ccl-search in OPAC?

    • Article Type: General
    • Product: Aleph
    • Product Version: 21

    Desired Outcome Goal:
    When doing a non-ccl search in Opac the sort order in brief list is applying to the settings in variable "setenv www_sort_field" value in $alephe_root/www_server_defaults. When doing a ccl search the default sort in the brief list is differently. How can I setup a default sort for a ccc search result?

    Procedure:
    When you are doing a CCL search the default search is taken from xxx01/tab/www_tab_short.lng dependent on the field which was searched:
    ! 2 3 4 5 6 7 8 9 10 11 12 13
    !-!-!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!-!!-!!-!!!!-!-!-!!!!!!!!!!-!!-!!!!!-!!!!!-!!!!!-!!!!!-!!!!!
    1 L Author 02---A01---A 00 00 0100 S 9 - ## 1#### 700##

    2 L Format S ## TYP## FMT##

    3 L Title 03---A01---A 00 00 0100 S ## 245##

    4 L Year 01---D02---A 00 00 S ## YR


    When you search e.g. for WAU= the line with "Author" is activated and sorting is done by author, year, when you search for WTI= the brief list will be sorted by title, then year.

    The relevant fields that will be considered for the sort are defined in xxx01/tab/tab_sort:
    !1 2 3 4 5 6 7 8 9 10 1 12 13 4 15 16 7 18 9
    !!-!!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!!!!-!!!!!-!-!!-!!
    01 95 008 260## c 08 04
    02 01 1#### a 700## a 00 00
    03 11 773## g 245## a 2 240## 2 00 00
    04 22 050## LOC## hjl 084## a 00 00
    05 11 440## av 2 00 00
    06 LOC## d FMT## 00 00
    07 01 BND 245## a 2 00 00

    Category: Web OPAC (500) - ALEPH

    Subject: ALEPH - 500


    • Article last edited: 2/28/2014