4 indexterm:[search, URL]
6 When performing a search or clicking on the details links, Evergreen constructs
7 a GET request url with the parameters of the search. The url for searches and
8 details in Evergreen are persistent links in that they can be saved, shared and
11 Here is a basic search URL structure:
14 +++[hostname]+++/eg/opac/results?query=[search term]&**qtype**=keyword&fi%3Aitem_type=&**locg**=[location id]
18 This is the id of the search location. It is an integer and maches the id of the
19 location the user selected in the location drop down menu.
24 The _qtype_ parameter in the URL represents the search type values and represent
25 one of the following search or request types:
35 These match the options in the search type drop-down box.
40 The _sort_ parameter sorts the results on one of these criteria.
42 * `sort=pubdate` (publication date) - chronological order
43 * `sort=titlesort` - Alphabetical order
44 * `sort=authorsort` - Alphabetical order on family name first
46 To change the sort direction of the results, the _sort_ parameter value has the
47 ".descending" suffix added to it.
49 * `sort=titlesort.descending`
50 * `sort=authorsort.descending`
51 * `sort=pubdate.descending`
53 In the absence of the _sort_ parameter, the search results default to sorting by