Skip to content

Change from `search` route to `databases` route

Homepage

Search Box

The resource search box on the homepage uses these form tags

  <form class="search-query-form" role="search" aria-label="Search" action="https://www.galileo.usg.edu/catalog" accept-charset="UTF-8" method="get">
  <input type="hidden" name="inst_code" value="uga1" />

Change it to use this instead

  <form class="search-query-form" role="search" aria-label="Search" action="https://www.galileo.usg.edu/uga1/databases" accept-charset="UTF-8" method="get">

Results

Search Box

The search box on the results page uses this form tag

    <form class="search-query-form" role="search" aria-label="Search" action="https://www.galileo.usg.edu/uga1/search" accept-charset="UTF-8" method="get">

Change it to use this instead

    <form class="search-query-form" role="search" aria-label="Search" action="https://www.galileo.usg.edu/uga1/databases" accept-charset="UTF-8" method="get">

Facets, Etc.

On the results page are numerous places where the search route is used, including the A-Z bar, pagination, sorting, facets, etc., e.g.,

  <a class="page-link" href="/uga1/search?q=test">
    Show All
  </a>

Change all of these places to use the databases route instead, e.g.,

  <a class="page-link" href="/uga1/databases?q=test">
    Show All
  </a>