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 Configure Order of Search Results in GUI

    How to Configure Order of Search Results in GUI

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     


    Description:
    When I view records in the brief list of my GUI (in the upper pane), it states "sorted by year ascending then author ascending"  Why is this the default sort order? 
    How can I make the year descending (I want to see newest records first)?

     

    Resolution:
    The sort order in the brief list of the GUI is determined by 2 factors:
    * pc_sort_field in pc_server defaults
    * tab_sort in library/$data_tab 

    You have as follows:
    >> grep "pc_sort_field " $alephe_root/pc_server_defaults
    $alephe_root/pc_server_defaults
    setenv pc_sort_field "01 A02 A"

    This means that it first sorts by sort key 01 in Ascending then by 02 in Ascending.
    The A means ascending. If it was D then it would be descending.

    The key 01 and 02 are determined by tab_sort

    >>grep ^01 $data_tab/tab_sort
    01 95 008 260## c 08 04
    >>grep ^02 $data_tab/tab_sort 
    02 01 1#### a 700## a 00 00

    Above 01 is year (either from 008 or 260 $$c)
    Above 02 is author (either from field 1##### $$a or 700## $$a)
    See header of tab_sort for more information.

    To make the order by year descending change line 
    >>grep "pc_sort_field " $alephe_root/pc_server_defaults
    setenv pc_sort_field "01 A02 A"

    To
    >>grep "pc_sort_field " $alephe_root/pc_server_defaults
    setenv pc_sort_field "01 D02 A"

     

     


    • Article last edited: 12-Mar-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to configure order counter code
      • How to configure PDS on Oracle
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      This page has no tags.
    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