Frederic Demians
21255a2416
Pushes modified facets display from OPAC to librarian interface. Corrects also OPAC version which were omitting Titles facet. Signed-off-by: Joshua Ferraro <jmf@liblime.com>
28 lines
2.3 KiB
HTML
Executable file
28 lines
2.3 KiB
HTML
Executable file
<!-- TMPL_IF NAME="opacfacets" -->
|
|
<!-- TMPL_IF NAME="facets_loop" -->
|
|
<div id="search-facets">
|
|
<h4>Refine your search</h4>
|
|
<ul>
|
|
<li>Availability<ul><li><!-- TMPL_IF NAME="available" -->Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/catalogue/search.pl?<!-- TMPL_VAR NAME="query_cgi" --><!-- TMPL_VAR NAME="limit_cgi_not_availablity" --><!-- TMPL_IF NAME="sort_by" -->&sort_by=<!-- TMPL_VAR NAME="sort_by" --><!-- /TMPL_IF -->">Show all items</a><!-- TMPL_ELSE -->Limit to <a href="/cgi-bin/koha/catalogue/search.pl?<!-- TMPL_VAR NAME="query_cgi" --><!-- TMPL_VAR NAME="limit_cgi" --><!-- TMPL_IF NAME="sort_by" -->&sort_by=<!-- TMPL_VAR NAME="sort_by" --><!-- /TMPL_IF -->&limit=available">currently available items.</a><!-- /TMPL_IF --></li></ul>
|
|
<!-- TMPL_IF NAME="related" --> <li>(related searches: <!-- TMPL_LOOP NAME="related" --><!-- TMPL_VAR NAME="related_search" --><!-- /TMPL_LOOP -->)</li><!-- /TMPL_IF -->
|
|
</li>
|
|
|
|
<!-- TMPL_LOOP NAME="facets_loop" -->
|
|
<li id="<!-- TMPL_VAR NAME="type_id" -->">
|
|
<!-- TMPL_VAR NAME="type_label" -->
|
|
<!-- TMPL_IF NAME="type_label_Authors" -->Authors<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="type_label_Titles" -->Titles<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="type_label_Topics" -->Topics<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="type_label_Places" -->Places<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="type_label_Series" -->Series<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="type_label_Libraries" -->Libraries<!-- /TMPL_IF -->
|
|
<ul>
|
|
<!-- TMPL_LOOP NAME="facets" --><li><a href="/cgi-bin/koha/catalogue/search.pl?<!-- TMPL_VAR NAME="query_cgi" --><!-- TMPL_VAR NAME="limit_cgi" --><!-- TMPL_IF NAME="sort_by" -->&sort_by=<!-- TMPL_VAR NAME="sort_by" --><!-- /TMPL_IF -->&limit=<!-- TMPL_VAR NAME="type_link_value" -->:<!-- TMPL_VAR NAME="facet_link_value" -->" title="<!-- TMPL_VAR NAME="facet_title_value" -->"><!-- TMPL_VAR NAME="facet_label_value" --></a> <!-- (<!-- TMPL_VAR NAME="facet_count" -->) --></li><!-- /TMPL_LOOP --><!-- TMPL_IF NAME="expandable" -->
|
|
<li class="showmore"><a href="/cgi-bin/koha/catalogue/search.pl?<!-- TMPL_VAR NAME="query_cgi" -->&expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">Show More</a></li>
|
|
<!-- /TMPL_IF -->
|
|
</ul></li>
|
|
<!-- /TMPL_LOOP -->
|
|
</ul>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|