bringing back facets to the staff client search

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Joshua Ferraro 2007-10-29 16:45:02 -05:00
parent fae1bc5f54
commit 0f1ef87f32
2 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,12 @@
<!-- TMPL_IF NAME="opacfacets" -->
<ul id="search_facets">
<li><h4>Refine Your Search</h4></li>
<!-- TMPL_LOOP NAME="facets_loop" -->
<li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" --><ul>
<!-- TMPL_LOOP NAME="facets" --><li><a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;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?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">Show More</a></li>
<!-- /TMPL_IF -->
</ul></li>
<!-- /TMPL_LOOP -->
</ul>
<!-- /TMPL_IF -->

View File

@ -68,7 +68,7 @@
<label for="scan-index">Indexed in:</label>
<select name="idx" id="scan-index">
<option value="">Any Word</option>
<option value="any/phr:">Any Phrase</option>
<option value="any,phr:">Any Phrase</option>
<option value="ti:">Title</option>
<option value="ti,phr:">Title Phrase</option>
<option value="au,phr:">Author</option>
@ -341,7 +341,7 @@
<span class="available">
<!--/TMPL_IF -->
<!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchcode" -->
(<!-- TMPL_VAR NAME="count" -->) <!-- TMPL_VAR NAME="branchcode" -->
<i>
<!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
@ -362,10 +362,10 @@
</td>
<td>
<!-- TMPL_IF NAME="norequests" -->
Not Reserveable
No holds allowed
<!-- TMPL_ELSE -->
<a class="reserve" href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
Reserves
Holds
</a>
<!-- /TMPL_IF -->
</td>
@ -399,6 +399,7 @@
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="cat-menu.inc" -->
<!-- TMPL_INCLUDE NAME="facets.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->