|
yaz_sortSets sorting criteria Description
void yaz_sort
( resource
$id
, string $criteria
)This function sets sorting criteria and enables Z39.50 Sort. Call this function before yaz_search. Using this function alone does not have any effect. When used in conjunction with yaz_search, a Z39.50 Sort will be sent after a search response has been received and before any records are retrieved with Z39.50 Present (yaz_present. Parameters
Return ValuesNo value is returned. ExamplesExample #1 Sort Criterias To sort on Bib1 attribute title, case insensitive, and ascending you would use the following sort criteria: 1=4 ia If the secondary sorting criteria should be author, case sensitive and ascending you would use: 1=4 ia 1=1003 sa |