From cfa4a63cbea6f801f5f09b91df745f55d839c164 Mon Sep 17 00:00:00 2001 From: Yamil Suarez Date: Tue, 1 Jul 2014 14:58:33 -0400 Subject: [PATCH] Documentation: added "search URL" text inside of "using OPAC" section Replaces temporary text that was accidentally added to the "using OPAC" section. Signed-off-by: Yamil Suarez --- docs/opac/using_the_public_access_catalog.txt | 42 ++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/docs/opac/using_the_public_access_catalog.txt b/docs/opac/using_the_public_access_catalog.txt index 55643ba693..323a409e8f 100644 --- a/docs/opac/using_the_public_access_catalog.txt +++ b/docs/opac/using_the_public_access_catalog.txt @@ -221,10 +221,50 @@ Search URL indexterm:[search URL] -////[SKIP FOR NOW, WAIT FOR YAMIL]//// +When performing a search or clicking on the details links, Evergreen constructs a GET request url with the parameters of the search. The url for searches and details in Evergreen are persistent links in that they can be saved, shared and used later. +Here is a basic search URL structure: ++++[hostname]+++/eg/opac/results?query=[search term]&**qtype**=keyword&fi%3Aitem_type=&**locg**=[location id] + +locg Parameter +^^^^^^^^^^^^^^ +This is the id of the search location. It is an integer and maches the id of the location the user selected in the location drop down menu. + +qtype Parameter +^^^^^^^^^^^^^^^ + +The _qtype_ parameter in the URL represents the search type values and represent one of the following search or request types: + + +* Keyword +* Title +* Journal Title +* Author +* Subject +* Series +* Bib Call Number + + +These match the options in the search type drop-down box. + +Sorting +^^^^^^^ + +The _sort_ parameter sorts the results on one of these criteria. +• sort=pubdate (publication date) - chronological order +• sort=titlesort - Alphabetical order +• sort=authorsort - Alphabetical order on family name first + +To change the sort direction of the resutls, the _sort_ paremeter value has the ".descending" suffix added to it. + +* sort=titlesort.descending +* sort=authorsort.descending +* sort=pubdate.descending + +In the absence of the _sort_ parameter, the search results default to sorting by relevance. + Search Results ~~~~~~~~~~~~~~ -- 2.43.2