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