What field does the p_cir_11 sort option "LOCATION" sort by?
- Article Type: General
- Product: Aleph
- Product Version: 16.02
Description:
One of my users is trying to run p_cir_11 and use the sort option of LOCATION. We do not see what order it is sorting the report by. Does that sorting option need to be defined in a table somewhere?
Resolution:
The possible values for the p_cir_11 sort are:
ID ADM Record Number
02 Title
05 Location
NM Patron Name
DA Request Date
The "02" and "05" are tab_sort sort key values.
"02" is, in fact, a title sort in the distributed usm01 tab_sort.
"05" may at one time have been a "Location" (call number) sort but the usm01 tab_sort currently has:
04 22 050## LOC## hjl 00 0
0
05 11 440## av 2 00 0
0
The "440" tag is not a call number field. The LOC and 050 (for sort type 04) *are* call number fields
In this case, changing the p-cir-11.xml from:
<value>05</value>
<display>Location</display>
to:
<value>04</value>
<display>Call number</display>
will correct the problem. You need to make sure that your p-cir-11.xml is in synch with your tab_sort.
[Note: In v17-up, you will need to do this if you want to change p-cir-11.xml:
cp $aleph_root/pc_b_eng/p-cir-11.xml $alephe_root/pc_b_eng/p-cir-11.xml
and then make the change to the $alephe_root/pc_b_eng/p-cir-11.xml .]
- Article last edited: 10/8/2013