Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. How to force descending year sort order for ccl-search in OPAC?

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

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • 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
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to fix bad alignment bib info display in forms that are sent by email.
      • How to format the date in Aleph
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 21
      2. ALEPH - 500
      3. contype:kba
      4. Prod:Aleph
      5. Type:General
      6. Web OPAC (500) - ALEPH
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved