Lines 18-23
Link Here
|
18 |
[% SET DetailPage="detail.pl" %] |
18 |
[% SET DetailPage="detail.pl" %] |
19 |
[% END %] |
19 |
[% END %] |
20 |
[% INCLUDE 'doc-head-open.inc' %] |
20 |
[% INCLUDE 'doc-head-open.inc' %] |
|
|
21 |
|
21 |
<title>Koha › Catalog › [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title> |
22 |
<title>Koha › Catalog › [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title> |
22 |
[% INCLUDE 'doc-head-close.inc' %] |
23 |
[% INCLUDE 'doc-head-close.inc' %] |
23 |
</head> |
24 |
</head> |
Lines 27-35
Link Here
|
27 |
[% INCLUDE 'cat-search.inc' %] |
28 |
[% INCLUDE 'cat-search.inc' %] |
28 |
|
29 |
|
29 |
<div id="breadcrumbs"> |
30 |
<div id="breadcrumbs"> |
30 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> |
31 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> |
31 |
› <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> |
32 |
› <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> |
32 |
› Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] |
33 |
› Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] |
33 |
</div> |
34 |
</div> |
34 |
|
35 |
|
35 |
<div class="main container-fluid"> |
36 |
<div class="main container-fluid"> |
Lines 37-587
Link Here
|
37 |
<div class="col-sm-10 col-sm-push-2"> |
38 |
<div class="col-sm-10 col-sm-push-2"> |
38 |
<main> |
39 |
<main> |
39 |
|
40 |
|
40 |
[% IF ( outer_sup_results_loop ) %] |
41 |
[% IF ( outer_sup_results_loop ) %] |
41 |
<div class="row"> |
42 |
<div class="row"> |
42 |
<div class="col-sm-8"> |
43 |
<div class="col-sm-8"> |
43 |
[% END %] |
44 |
[% END %] |
44 |
|
|
|
45 |
[% IF ( koha_spsuggest ) %] |
46 |
<div style="font-size: 12px;">Did you mean: |
47 |
<ul style="list-style: none;"> |
48 |
[% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %] |
49 |
<li> |
50 |
<a href="/cgi-bin/koha/catalogue/search.pl?q=[% SPELL_SUGGES.spsuggestion | uri %]">[% SPELL_SUGGES.spsuggestion | html %]</a> |
51 |
</li> |
52 |
[% END %] |
53 |
</ul> |
54 |
</div> |
55 |
[% END %] |
56 |
|
57 |
[% IF ( total ) %] |
58 |
|
59 |
<h3> |
60 |
[% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc %] with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %]. |
61 |
</h3> |
62 |
|
63 |
<div id="searchheader"> |
64 |
|
65 |
<div id="selection_ops"> |
66 |
<a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a> |
67 |
| |
68 |
<a href="#" id="clear_all"><i class="fa fa-remove"></i> Clear all</a> |
69 |
| |
70 |
<a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a> |
71 |
<a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a> |
72 |
| |
73 |
|
74 |
[% IF ( intranetbookbag ) %] |
75 |
<div class="btn-group"> |
76 |
<a id="cartsubmit" class="btn btn-default btn-xs" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a> |
77 |
</div> |
78 |
[% END %] |
79 |
|
45 |
|
80 |
[% IF Koha.Preference('virtualshelves') %] |
46 |
[% IF ( koha_spsuggest ) %] |
81 |
<div class="btn-group"> |
47 |
<div style="font-size: 12px;">Did you mean: |
82 |
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
48 |
<ul style="list-style: none;"> |
83 |
<i class="fa fa-list"></i> Add to list <span class="caret"></span> |
49 |
[% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %] |
84 |
</button> |
50 |
<li> |
85 |
<ul class="dropdown-menu"> |
51 |
<a href="/cgi-bin/koha/catalogue/search.pl?q=[% SPELL_SUGGES.spsuggestion | uri %]">[% SPELL_SUGGES.spsuggestion | html %]</a> |
86 |
[% IF add_to_some_private_shelves.count %] |
52 |
</li> |
87 |
<li class="dropdown-header">Your lists</li> |
|
|
88 |
[% SET number_of_private_shelves = 0 %] |
89 |
[% FOREACH s IN add_to_some_private_shelves %] |
90 |
[% IF shelfnumber != s.shelfnumber %] |
91 |
<li> |
92 |
<a href="#" class="addtolist" data-shelfnumber="[% s.shelfnumber | html %]">[% s.shelfname | html %]</a> |
93 |
</li> |
94 |
[% SET number_of_private_shelves = number_of_private_shelves + 1 %] |
95 |
[% IF number_of_private_shelves == 10 %][% LAST %][% END %] |
96 |
[% END %] |
97 |
[% END %] |
53 |
[% END %] |
98 |
[% END %] |
|
|
99 |
[% IF add_to_some_public_shelves.count %] |
100 |
<li class="dropdown-header">Public lists</li> |
101 |
[% SET number_of_public_shelves = 0 %] |
102 |
[% FOREACH s IN add_to_some_public_shelves %] |
103 |
[% IF shelfnumber != s.shelfnumber %] |
104 |
<li> |
105 |
<a href="#" data-shelfnumber="[% s.shelfnumber | html %]" class="addtolist">[% s.shelfname | html %]</a> |
106 |
</li> |
107 |
[% SET number_of_public_shelves = number_of_public_shelves + 1 %] |
108 |
[% IF number_of_public_shelves == 10 %][% LAST %][% END %] |
109 |
[% END %] |
110 |
[% END %] |
111 |
[% END %] |
112 |
<li role="separator" class="divider"></li> |
113 |
[% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %] |
114 |
<li> |
115 |
<a href="#" class="addtolist morelists">More lists</a> |
116 |
</li> |
117 |
[% END %] |
118 |
<li> |
119 |
<a href="#" class="addtolist newlist">New list</a> |
120 |
</li> |
121 |
</ul> |
122 |
</div> |
123 |
[% END %] |
124 |
|
125 |
|
126 |
[% IF ( CAN_user_reserveforothers_place_holds && DisplayMultiPlaceHold ) %] |
127 |
[% IF ( holdfor ) %] |
128 |
<div id="placeholdc" class="btn-group"> |
129 |
<button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button> |
130 |
<button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"> |
131 |
<span class="caret"></span> |
132 |
</button> |
133 |
<ul class="dropdown-menu"> |
134 |
<li><a href="#" class="placehold">Place hold</a></li> |
135 |
<li><a href="#" class="placeholdfor">Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></li> |
136 |
<li class="divider"></li> |
137 |
<li><a href="#" id="forgetholdfor">Forget [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></li> |
138 |
</ul> |
54 |
</ul> |
139 |
</div> |
55 |
</div> |
140 |
[% ELSE %] |
|
|
141 |
<div id="placeholdc" class="btn-group"><a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> Place hold</a></div> |
142 |
[% END %] |
56 |
[% END %] |
143 |
[% END %] |
|
|
144 |
[% IF Koha.Preference('BrowseResultSelection') %] |
145 |
<div id="browse_selection" class="btn-group"><a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> Browse selected records</a></div> |
146 |
[% END %] |
147 |
|
148 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] <div class="btn-group"><a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a></div>[% END %] |
149 |
|
150 |
[% IF ( searchdesc ) %] |
151 |
[% BLOCK sort_search_query ~%] |
152 |
[%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%] |
153 |
&[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | html %] |
154 |
[%~ END ~%] |
155 |
[%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%] |
156 |
&[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | html %] |
157 |
[%~ END ~%] |
158 |
[%~ END %] |
159 |
[% END %] |
160 |
|
161 |
<div class="btn-group"> |
162 |
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
163 |
Sort <span class="caret"></span> |
164 |
</button> |
165 |
<ul class="dropdown-menu"> |
166 |
[% IF ( sort_by == "relevance_dsc" ) %] |
167 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Relevance</a></li> |
168 |
[% ELSE %] |
169 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]">Relevance</a></li> |
170 |
[% END %] |
171 |
<li class="dropdown-header">Popularity</li> |
172 |
[% IF ( sort_by == "popularity_dsc" ) %] |
173 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (most to least)</a></li> |
174 |
[% ELSE %] |
175 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]">Popularity (most to least)</a></li> |
176 |
[% END %] |
177 |
|
178 |
[% IF ( sort_by == "popularity_asc" ) %] |
179 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (least to most)</a></li> |
180 |
[% ELSE %] |
181 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]">Popularity (least to most)</a></li> |
182 |
[% END %] |
183 |
|
184 |
<li class="dropdown-header">Author</li> |
185 |
|
186 |
[% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %] |
187 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_a[% PROCESS sort_search_query %]z"><i class="fa fa-check"></i> Author (A-Z)</a></li> |
188 |
[% ELSE %] |
189 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_az[% PROCESS sort_search_query %]">Author (A-Z)</a></li> |
190 |
[% END %] |
191 |
|
192 |
[% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %] |
193 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Author (Z-A)</a></li> |
194 |
[% ELSE %] |
195 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]">Author (Z-A)</a></li> |
196 |
[% END %] |
197 |
|
198 |
<li class="dropdown-header">Call number</li> |
199 |
|
200 |
[% IF ( sort_by == "call_number_asc" ) %] |
201 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call Number (0-9 to A-Z)</a></li> |
202 |
[% ELSE %] |
203 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]">Call Number (0-9 to A-Z)</a></li> |
204 |
[% END %] |
205 |
|
206 |
[% IF ( sort_by == "call_number_dsc" ) %] |
207 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call number (Z-A to 9-0)</a></li> |
208 |
[% ELSE %] |
209 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]">Call number (Z-A to 9-0)</a></li> |
210 |
[% END %] |
211 |
|
212 |
<li class="dropdown-header">Dates</li> |
213 |
[% IF ( sort_by == "pubdate_dsc" ) %] |
214 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: newest to oldest</a></li> |
215 |
[% ELSE %] |
216 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]">Publication/Copyright date: newest to oldest</a></li> |
217 |
[% END %] |
218 |
|
219 |
[% IF ( sort_by == "pubdate_asc" ) %] |
220 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: oldest to newest</a></li> |
221 |
[% ELSE %] |
222 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]">Publication/Copyright date: oldest to newest</a></li> |
223 |
[% END %] |
224 |
|
225 |
[% IF ( sort_by == "acqdate_dsc" ) %] |
226 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: newest to oldest</a></li> |
227 |
[% ELSE %] |
228 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]">Acquisition date: newest to oldest</a></li> |
229 |
[% END %] |
230 |
|
231 |
[% IF ( sort_by == "acqdate_asc" ) %] |
232 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: oldest to newest</a></li> |
233 |
[% ELSE %] |
234 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]">Acquisition date: oldest to newest</a></li> |
235 |
[% END %] |
236 |
|
237 |
<li class="dropdown-header">Title</li> |
238 |
[% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %] |
239 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (A-Z)</a></li> |
240 |
[% ELSE %] |
241 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]">Title (A-Z)</a></li> |
242 |
[% END %] |
243 |
|
244 |
[% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %] |
245 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (Z-A)</a></li> |
246 |
[% ELSE %] |
247 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]">Title (Z-A)</a></li> |
248 |
[% END %] |
249 |
</ul> |
250 |
</div> |
251 |
</div> |
252 |
|
253 |
</div> |
254 |
[% ELSE %] |
255 |
<div id="searchheader"> |
256 |
<form method="post" name="fz3950" class="fz3950bigrpad"> |
257 |
<button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button> |
258 |
</form> |
259 |
<h3>No results found</h3> |
260 |
[% IF ( searchdesc ) %] |
261 |
<p> |
262 |
No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %] with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %]. |
263 |
</p> |
264 |
[% ELSE %] |
265 |
<p>You did not specify any search criteria.</p> |
266 |
[% END %] |
267 |
</div> |
268 |
[% END %] |
269 |
|
270 |
[% IF ( query_error ) %] |
271 |
<div class="dialog alert"><p><strong>Error:</strong> [% query_error | html %]</p></div> |
272 |
[% END %] |
273 |
|
274 |
<!-- Search Results Table --> |
275 |
[% IF ( total ) %] |
276 |
[% IF ( scan ) %] |
277 |
<h1>Scan index:</h1> |
278 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
279 |
<table> |
280 |
<tr> |
281 |
<td> |
282 |
[% IF ( scan_search_term_to_use ) %] |
283 |
Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" /> |
284 |
[% ELSE %] |
285 |
Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" /> |
286 |
[% END %] |
287 |
</td> |
288 |
</tr> |
289 |
<tr> |
290 |
<td> |
291 |
<label for="scan-index">Indexed in:</label> |
292 |
<select name="idx" id="scan-index"> |
293 |
<option value="">Any word</option> |
294 |
[% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">Any phrase</option> |
295 |
[% ELSE %]<option value="any,phr">Any phrase</option>[% END %] |
296 |
[% IF ( ms_ti ) %]<option selected="selected" value="ti">Title</option> |
297 |
[% ELSE %]<option value="ti">Title</option>[% END %] |
298 |
[% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">Title phrase</option> |
299 |
[% ELSE %]<option value="ti,phr">Title phrase</option>[% END %] |
300 |
[% IF ( ms_aucommaphr ) %]<option selected="selected" value="au,phr">Author</option> |
301 |
[% ELSE %]<option value="au,phr">Author</option>[% END %] |
302 |
[% IF ( ms_su ) %]<option selected="selected" value="su">Subject</option> |
303 |
[% ELSE %]<option value="su">Subject</option>[% END %] |
304 |
[% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">Subject phrase</option> |
305 |
[% ELSE %]<option value="su,phr">Subject phrase</option>[% END %] |
306 |
[% IF ( ms_se ) %]<option selected="selected" value="se">Series</option> |
307 |
[% ELSE %]<option value="su">Series</option>[% END %] |
308 |
[% IF ( ms_pb ) %]<option selected="selected" value="pb">Publisher</option> |
309 |
[% ELSE %]<option value="pb">Publisher</option>[% END %] |
310 |
[% IF ( ms_nt ) %]<option selected="selected" value="nt">Notes</option> |
311 |
[% ELSE %]<option value="nt">Notes</option>[% END %] |
312 |
[% IF ( ms_sn ) %]<option selected="selected" value="sn">ISBN</option> |
313 |
[% ELSE %]<option value="sn">ISBN</option>[% END %] |
314 |
[% IF ( ms_ss ) %]<option selected="selected" value="ss">ISSN</option> |
315 |
[% ELSE %]<option value="ss">ISSN</option>[% END %] |
316 |
</select> |
317 |
<input type="hidden" name="scan" value="1" /> |
318 |
</td> |
319 |
</tr> |
320 |
</table> |
321 |
</form> |
322 |
|
323 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
324 |
<table> |
325 |
<tr> |
326 |
<th>Term/Phrase</th> |
327 |
<th>Count</th> |
328 |
</tr> |
329 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
330 |
<tr> |
331 |
<td> |
332 |
<a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use | uri %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title | uri %]"">[% SEARCH_RESULT.title | html %]</a> |
333 |
</td> |
334 |
<td> |
335 |
[% SEARCH_RESULT.author | html %] |
336 |
</td> |
337 |
</tr> |
338 |
[% END %] |
339 |
</table> |
340 |
</form> |
341 |
[% ELSE %] |
342 |
|
57 |
|
343 |
<div id="searchresults"> |
58 |
[% IF ( total ) %] |
344 |
[% INCLUDE 'page-numbers.inc' %] |
59 |
|
345 |
|
60 |
<h3> |
346 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form"> |
61 |
[% total | html %] result(s) found [% IF ( query_desc ) %]for <span class="results_query_desc">'[% query_desc | html %]'</span>[% END %][% IF limit_desc %] with limit(s): <span class="results_limit_desc">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %]. |
347 |
[% IF ( searchdesc ) %] |
62 |
</h3> |
348 |
[% FOREACH QUERY_INPUT IN QUERY_INPUTS %] |
63 |
|
349 |
<input type="hidden" name="[% QUERY_INPUT.input_name | html %]" value="[% QUERY_INPUT.input_value | html %]"/> |
64 |
<div id="searchheader"> |
350 |
[% END %] |
65 |
<div id="selection_ops"> |
351 |
[% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] |
66 |
<a href="#" id="select_all"><i class="fa fa-check"></i> Select all</a> |
352 |
<input type="hidden" name="[% LIMIT_INPUT.input_name | html %]" value="[% LIMIT_INPUT.input_value | html %]"/> |
67 |
| |
353 |
[% END %] |
68 |
<a href="#" id="clear_all"><i class="fa fa-remove"></i> Clear all</a> |
354 |
[% END %] |
69 |
| |
|
|
70 |
<a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a> |
71 |
<a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a> |
72 |
| |
73 |
|
74 |
[% IF ( intranetbookbag ) %] |
75 |
<div class="btn-group"> |
76 |
<a id="cartsubmit" class="btn btn-default btn-xs" href="#"><i class="fa fa-shopping-cart"></i> Add to cart</a> |
77 |
</div> |
78 |
[% END %] |
355 |
|
79 |
|
356 |
<!-- TABLE RESULTS START --> |
80 |
[% IF Koha.Preference('virtualshelves') %] |
357 |
<table> |
81 |
<div class="btn-group"> |
358 |
<tr> |
82 |
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
359 |
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]<th> </th>[% END %] |
83 |
<i class="fa fa-list"></i> Add to list <span class="caret"></span> |
360 |
<th colspan="2">Results</th> |
84 |
</button> |
361 |
<th>Location</th> |
85 |
<ul class="dropdown-menu"> |
362 |
</tr> |
86 |
[% IF add_to_some_private_shelves.count %] |
363 |
<!-- Actual Search Results --> |
87 |
<li class="dropdown-header">Your lists</li> |
364 |
[% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %] |
88 |
[% SET number_of_private_shelves = 0 %] |
365 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
89 |
[% FOREACH s IN add_to_some_private_shelves %] |
366 |
<tr> |
90 |
[% IF shelfnumber != s.shelfnumber %] |
367 |
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %] |
91 |
<li> |
368 |
<td> |
92 |
<a href="#" class="addtolist" data-shelfnumber="[% s.shelfnumber | html %]">[% s.shelfname | html %]</a> |
369 |
[% IF ( LocalCoverImages) %] |
93 |
</li> |
370 |
<a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> |
94 |
[% SET number_of_private_shelves = number_of_private_shelves + 1 %] |
371 |
<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> |
95 |
[% IF number_of_private_shelves == 10 %][% LAST %][% END %] |
372 |
</a> |
96 |
[% END %] |
373 |
[% END %] |
97 |
[% END %] |
374 |
[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] |
|
|
375 |
<a href="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> |
376 |
[% END %] |
377 |
[% IF ( AmazonCoverImages ) %] |
378 |
[% IF ( SEARCH_RESULT.normalized_isbn ) %] |
379 |
<a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> |
380 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" /> |
381 |
[% ELSIF ( !LocalCoverImages ) %] |
382 |
<a class="p1 no-amazon-cover" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> |
383 |
<img src="https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" /> |
384 |
[% END %] |
98 |
[% END %] |
385 |
</a> |
99 |
[% IF add_to_some_public_shelves.count %] |
386 |
[% END %] |
100 |
<li class="dropdown-header">Public lists</li> |
387 |
</td> |
101 |
[% SET number_of_public_shelves = 0 %] |
388 |
[% END %] |
102 |
[% FOREACH s IN add_to_some_public_shelves %] |
389 |
<td> |
103 |
[% IF shelfnumber != s.shelfnumber %] |
390 |
<input type="checkbox" class="selection" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" style="display:none" /> |
104 |
<li> |
391 |
</td> |
105 |
<a href="#" data-shelfnumber="[% s.shelfnumber | html %]" class="addtolist">[% s.shelfname | html %]</a> |
392 |
<td> |
106 |
</li> |
393 |
|
107 |
[% SET number_of_public_shelves = number_of_public_shelves + 1 %] |
394 |
[% UNLESS ( item_level_itypes ) %] |
108 |
[% IF number_of_public_shelves == 10 %][% LAST %][% END %] |
395 |
<div class="result-biblio-itemtype"> |
109 |
[% END %] |
396 |
[% IF !noItemTypeImages && SEARCH_RESULT.imageurl %] |
110 |
[% END %] |
397 |
<img src="[% SEARCH_RESULT.imageurl | html %]" alt="[% SEARCH_RESULT.description | html %]" /> |
111 |
[% END %] |
|
|
112 |
<li role="separator" class="divider"></li> |
113 |
[% IF add_to_some_private_shelves.count > 10 or add_to_some_public_shelves.count > 10 %] |
114 |
<li> |
115 |
<a href="#" class="addtolist morelists">More lists</a> |
116 |
</li> |
398 |
[% END %] |
117 |
[% END %] |
399 |
[% SEARCH_RESULT.description | html %] |
118 |
<li> |
|
|
119 |
<a href="#" class="addtolist newlist">New list</a> |
120 |
</li> |
121 |
</ul> |
122 |
</div> |
123 |
[% END # /IF virtualshelves %] |
124 |
|
125 |
[% IF ( CAN_user_reserveforothers_place_holds && DisplayMultiPlaceHold ) %] |
126 |
[% IF ( holdfor ) %] |
127 |
<div id="placeholdc" class="btn-group"> |
128 |
<button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button> |
129 |
<button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"> |
130 |
<span class="caret"></span> |
131 |
</button> |
132 |
<ul class="dropdown-menu"> |
133 |
<li><a href="#" class="placehold">Place hold</a></li> |
134 |
<li><a href="#" class="placeholdfor">Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></li> |
135 |
<li class="divider"></li> |
136 |
<li><a href="#" id="forgetholdfor">Forget [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></li> |
137 |
</ul> |
400 |
</div> |
138 |
</div> |
401 |
[% END %] |
139 |
[% ELSE %] |
|
|
140 |
<div id="placeholdc" class="btn-group"> |
141 |
<a class="btn btn-default btn-xs placehold" href="#"><i class="fa fa-sticky-note-o"></i> Place hold</a> |
142 |
</div> |
143 |
[% END # /IF holfor %] |
144 |
[% END # /IF CAN_user_reserveforothers_place_holds %] |
402 |
|
145 |
|
403 |
[% SEARCH_RESULT.result_number | html %]. |
146 |
[% IF Koha.Preference('BrowseResultSelection') %] |
404 |
[% SEARCH_RESULT.XSLTResultsRecord | $raw %] |
147 |
<div id="browse_selection" class="btn-group"> |
|
|
148 |
<a class="btn btn-default btn-xs browse_selection" href="#"><i class="fa fa-sticky-note-o"></i> Browse selected records</a> |
149 |
</div> |
150 |
[% END %] |
405 |
|
151 |
|
406 |
<p class="hold"> |
152 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] |
|
|
153 |
<div class="btn-group"> |
154 |
<a class="btn btn-default btn-xs" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a> |
155 |
</div> |
156 |
[% END %] |
407 |
|
157 |
|
408 |
[% IF ( SEARCH_RESULT.norequests ) %] |
158 |
[% IF ( searchdesc ) %] |
409 |
<span class="noholdstext">No holds allowed</span> |
159 |
[% BLOCK sort_search_query ~%] |
410 |
[% ELSE %] |
160 |
[%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%] |
411 |
[% IF CAN_user_reserveforothers_place_holds %] |
161 |
&[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | html %] |
412 |
<a id="reserve_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) | html %])</a> |
162 |
[%~ END ~%] |
413 |
[% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]&findborrower=[% holdfor_cardnumber | uri %]">Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></span>[% END %] |
163 |
[%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%] |
414 |
[% ELSE %] |
164 |
&[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | html %] |
415 |
Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) | html %]) |
165 |
[%~ END ~%] |
416 |
[% END %] |
166 |
[%~ END %] |
417 |
[% END %] |
167 |
[% END %] |
418 |
|
168 |
|
419 |
[% IF Koha.Preference('intranetbookbag') == 1 %] |
169 |
<div class="btn-group"> |
420 |
[% IF ( SEARCH_RESULT.incart ) %] |
170 |
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
421 |
| <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a> |
171 |
Sort <span class="caret"></span> |
|
|
172 |
</button> |
173 |
<ul class="dropdown-menu"> |
174 |
[% IF ( sort_by == "relevance_dsc" ) %] |
175 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Relevance</a></li> |
422 |
[% ELSE %] |
176 |
[% ELSE %] |
423 |
| <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a> |
177 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=relevance[% PROCESS sort_search_query %]">Relevance</a></li> |
|
|
178 |
[% END %] |
179 |
<li class="dropdown-header">Popularity</li> |
180 |
[% IF ( sort_by == "popularity_dsc" ) %] |
181 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (most to least)</a></li> |
182 |
[% ELSE %] |
183 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_dsc[% PROCESS sort_search_query %]">Popularity (most to least)</a></li> |
424 |
[% END %] |
184 |
[% END %] |
425 |
[% END # / IF intranetbookbag %] |
|
|
426 |
|
427 |
[% IF Koha.Preference('ArticleRequests') %] |
428 |
| <a id="requst_article_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Request article</a> |
429 |
[% END %] |
430 |
|
431 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] |
432 |
| <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit record</a> |
433 |
[% END %] |
434 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
435 |
| <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit items</a> |
436 |
[% END %] |
437 |
|
438 |
[% IF ( OPACBaseURL ) %] |
439 |
<span class="view-in-opac"> |
440 |
| <a href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" target="_blank">OPAC view</a> |
441 |
</span> |
442 |
[% END %] |
443 |
|
444 |
</p> |
445 |
</td> |
446 |
|
447 |
<td><div class="availability"> |
448 |
[% IF ( SEARCH_RESULT.items_count ) %] |
449 |
<strong> |
450 |
[% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] |
451 |
<span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses"> |
452 |
[% END %] |
453 |
|
185 |
|
454 |
[% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %] |
186 |
[% IF ( sort_by == "popularity_asc" ) %] |
|
|
187 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Popularity (least to most)</a></li> |
188 |
[% ELSE %] |
189 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=popularity_asc[% PROCESS sort_search_query %]">Popularity (least to most)</a></li> |
190 |
[% END %] |
455 |
|
191 |
|
456 |
[% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] |
192 |
<li class="dropdown-header">Author</li> |
457 |
</span> |
|
|
458 |
[% END %] |
459 |
</strong> |
460 |
|
193 |
|
461 |
[% IF ( SEARCH_RESULT.availablecount ) %] |
194 |
[% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %] |
462 |
<ul> |
195 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_a[% PROCESS sort_search_query %]z"><i class="fa fa-check"></i> Author (A-Z)</a></li> |
463 |
[% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %] |
196 |
[% ELSE %] |
|
|
197 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_az[% PROCESS sort_search_query %]">Author (A-Z)</a></li> |
198 |
[% END %] |
464 |
|
199 |
|
465 |
[% IF item_level_itypes && !noItemTypeImages && available_items_loo.imageurl %] |
200 |
[% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %] |
466 |
<li style="list-style: none; list-style-type: none;"> |
201 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Author (Z-A)</a></li> |
467 |
<img src="[% available_items_loo.imageurl | html %]" title="[% available_items_loo.description | html %]" alt="[% available_items_loo.description | html %]" /> |
202 |
[% ELSE %] |
468 |
[% ELSE %] |
203 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=author_za[% PROCESS sort_search_query %]">Author (Z-A)</a></li> |
469 |
<li> |
|
|
470 |
[% END %] |
471 |
[% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname | html %][% END %] |
472 |
[% IF ( available_items_loo.location ) %]<span class="shelvingloc">[% available_items_loo.location | html %]</span>[% END %] |
473 |
[% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber | html %]</a>][% END %] |
474 |
([% available_items_loo.count | html %]) |
475 |
[% IF item_level_itypes && available_items_loo.description %] |
476 |
<br/>[% available_items_loo.description | html %] |
477 |
[% END %] |
478 |
</li> |
479 |
[% END %] |
204 |
[% END %] |
480 |
</ul> |
205 |
|
|
|
206 |
<li class="dropdown-header">Call number</li> |
207 |
|
208 |
[% IF ( sort_by == "call_number_asc" ) %] |
209 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call Number (0-9 to A-Z)</a></li> |
210 |
[% ELSE %] |
211 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_asc[% PROCESS sort_search_query %]">Call Number (0-9 to A-Z)</a></li> |
481 |
[% END %] |
212 |
[% END %] |
482 |
|
213 |
|
483 |
[% IF ( SEARCH_RESULT.onloancount ) %] |
214 |
[% IF ( sort_by == "call_number_dsc" ) %] |
484 |
<span class="status">[% SEARCH_RESULT.onloancount | html %] on loan:</span> |
215 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Call number (Z-A to 9-0)</a></li> |
485 |
<ul> |
216 |
[% ELSE %] |
486 |
[% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %] |
217 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=call_number_dsc[% PROCESS sort_search_query %]">Call number (Z-A to 9-0)</a></li> |
487 |
[% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %] |
|
|
488 |
<li style="list-style: none; list-style-type: none;"> |
489 |
<img src="[% onloan_items_loo.imageurl | html %]" title="[% onloan_items_loo.description | html %]" alt="[% onloan_items_loo.description | html %]" /> |
490 |
[% ELSE %] |
491 |
<li> |
492 |
[% END %] |
493 |
[% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname | html %][% END %] |
494 |
[% IF ( onloan_items_loo.location ) %]<span class="shelvingloc">[% onloan_items_loo.location | html %]</span>[% END %] |
495 |
[% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber | html %]</a>][% END %] |
496 |
([% onloan_items_loo.count | html %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue | html %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %] |
497 |
[% IF item_level_itypes && onloan_items_loo.description %] |
498 |
<br/>[% onloan_items_loo.description | html %] |
499 |
[% END %] |
500 |
</li> |
501 |
[% END %] |
218 |
[% END %] |
502 |
</ul> |
219 |
|
|
|
220 |
<li class="dropdown-header">Dates</li> |
221 |
[% IF ( sort_by == "pubdate_dsc" ) %] |
222 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: newest to oldest</a></li> |
223 |
[% ELSE %] |
224 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_dsc[% PROCESS sort_search_query %]">Publication/Copyright date: newest to oldest</a></li> |
503 |
[% END %] |
225 |
[% END %] |
504 |
|
226 |
|
505 |
[% IF ( SEARCH_RESULT.othercount ) %] |
227 |
[% IF ( sort_by == "pubdate_asc" ) %] |
506 |
<span class="unavailable">[% SEARCH_RESULT.othercount | html %] unavailable:</span> |
228 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Publication/Copyright date: oldest to newest</a></li> |
507 |
<ul> |
229 |
[% ELSE %] |
508 |
[% FOREACH other_items_loo IN SEARCH_RESULT.other_items_loop %] |
230 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=pubdate_asc[% PROCESS sort_search_query %]">Publication/Copyright date: oldest to newest</a></li> |
509 |
[% IF item_level_itypes && !noItemTypeImages && other_items_loo.imageurl %] |
|
|
510 |
<li style="list-style: none; list-style-type: none;"> |
511 |
<img src="[% other_items_loo.imageurl | html %]" title="[% other_items_loo.description | html %]" alt="[% other_items_loo.description | html %]" /> |
512 |
[% ELSE %] |
513 |
<li> |
514 |
[% END %] |
515 |
[% IF ( other_items_loo.branchname ) %][% other_items_loo.branchname | html %][% END %] |
516 |
[% IF ( other_items_loo.location ) %]<span class="shelvingloc">[% other_items_loo.location | html %]</span>[% END %] |
517 |
[% IF ( other_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber | html %]</a>][% END %] |
518 |
[% IF ( other_items_loo.withdrawn ) %]([% AuthorisedValues.GetByCode( 'WITHDRAWN', other_items_loo.withdrawn ) | html %])[% END %] |
519 |
[% IF ( other_items_loo.itemlost ) %]([% AuthorisedValues.GetByCode( 'LOST', other_items_loo.itemlost ) | html %])[% END %] |
520 |
[% IF ( other_items_loo.damaged ) %]([% AuthorisedValues.GetByCode( 'DAMAGED', other_items_loo.damaged ) | html %])[% END %] |
521 |
[% IF ( other_items_loo.intransit ) %](In transit)[% END %] |
522 |
[% IF ( other_items_loo.onhold ) %](On hold)[% END %] |
523 |
[% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan | html %][% END %] |
524 |
([% other_items_loo.count | html %]) |
525 |
[% IF item_level_itypes && other_items_loo.description %] |
526 |
<br/>[% other_items_loo.description | html %] |
527 |
[% END %] |
528 |
</li> |
529 |
[% END %] |
231 |
[% END %] |
530 |
</ul> |
232 |
|
|
|
233 |
[% IF ( sort_by == "acqdate_dsc" ) %] |
234 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: newest to oldest</a></li> |
235 |
[% ELSE %] |
236 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_dsc[% PROCESS sort_search_query %]">Acquisition date: newest to oldest</a></li> |
531 |
[% END %] |
237 |
[% END %] |
|
|
238 |
|
239 |
[% IF ( sort_by == "acqdate_asc" ) %] |
240 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Acquisition date: oldest to newest</a></li> |
532 |
[% ELSE %] |
241 |
[% ELSE %] |
533 |
[% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %] |
242 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=acqdate_asc[% PROCESS sort_search_query %]">Acquisition date: oldest to newest</a></li> |
534 |
<strong id="altholdings_heading">Other holdings:</strong> |
|
|
535 |
<ul> |
536 |
[% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %] |
537 |
<li id="alternateholdings">[% ALTERNATEHOLDING.holding | html %]</li> |
538 |
[% END %] |
243 |
[% END %] |
539 |
</ul> |
244 |
|
|
|
245 |
<li class="dropdown-header">Title</li> |
246 |
[% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %] |
247 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (A-Z)</a></li> |
540 |
[% ELSE %] |
248 |
[% ELSE %] |
541 |
<span class="unavailable">No items</span> |
249 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_az[% PROCESS sort_search_query %]">Title (A-Z)</a></li> |
542 |
[% END %] |
250 |
[% END %] |
543 |
[% END %] <!-- /items count --> |
|
|
544 |
</div></td> |
545 |
|
251 |
|
546 |
</tr> |
252 |
[% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %] |
|
|
253 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]"><i class="fa fa-check"></i> Title (Z-A)</a></li> |
254 |
[% ELSE %] |
255 |
<li><a href="/cgi-bin/koha/catalogue/search.pl?sort_by=title_za[% PROCESS sort_search_query %]">Title (Z-A)</a></li> |
256 |
[% END %] |
257 |
</ul> |
258 |
</div> <!-- /.btn-group --> |
259 |
</div> <!-- /#selection_ops --> |
260 |
</div> <!-- /#searchheader --> |
261 |
|
262 |
[% ELSE # /IF total %] |
263 |
|
264 |
<div id="searchheader"> |
265 |
<form method="post" name="fz3950" class="fz3950bigrpad"> |
266 |
<button class="btn btn-default" type="button" id="z3950submit"><i class="fa fa-search"></i> Z39.50/SRU search</button> |
267 |
</form> |
268 |
<h3>No results found</h3> |
269 |
[% IF ( searchdesc ) %] |
270 |
<p> |
271 |
No results match your search [% IF ( query_desc ) %]for <span style="font-weight: bold;">'[% query_desc | html %]'</span>[% END %][% IF ( limit_desc ) %] with limit(s): <span style="font-weight: bold;">'[% limit_desc | html %]'</span>[% END %][% IF ( LibraryName ) %] in [% LibraryName | html %] Catalog[% END %]. |
272 |
</p> |
273 |
[% ELSE %] |
274 |
<p>You did not specify any search criteria.</p> |
547 |
[% END %] |
275 |
[% END %] |
548 |
</table> |
276 |
</div> |
549 |
</form> |
277 |
[% END # /IF total %] |
550 |
</div> |
278 |
|
551 |
[% END %] |
279 |
[% IF ( query_error ) %] |
552 |
[% INCLUDE 'page-numbers.inc' %] |
280 |
<div class="dialog alert"><p><strong>Error:</strong> [% query_error | html %]</p></div> |
553 |
[% ELSE %] |
281 |
[% END %] |
554 |
<!-- No Results Found --> |
282 |
|
555 |
[% END %] |
283 |
<!-- Search Results Table --> |
556 |
[% IF ( outer_sup_results_loop ) %] |
284 |
[% IF ( total ) %] |
557 |
</div> |
285 |
[% IF ( scan ) %] |
558 |
<div class="col-sm-4"> |
286 |
<h1>Scan index:</h1> |
559 |
[% FOREACH outer_sup_results_loo IN outer_sup_results_loop %] |
287 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
560 |
<!-- <div class="yui-b"> --> |
288 |
<table> |
561 |
[% IF ( outer_sup_results_loo.inner_sup_results_loop ) %] |
289 |
<tr> |
562 |
[% outer_sup_results_loo.servername | html %] |
290 |
<td> |
563 |
[% FOREACH inner_sup_results_loo IN outer_sup_results_loo.inner_sup_results_loop %] |
291 |
[% IF ( scan_search_term_to_use ) %] |
564 |
<div><a href="/cgi-bin/koha/catalogue/search.pl?[% inner_sup_results_loo.query_cgi | $raw %][% inner_sup_results_loo.limit_cgi | $raw %][% inner_sup_results_loo.sort_by | uri %][% inner_sup_results_loo.link | uri %]">[% inner_sup_results_loo.title | html %]</a></div> |
292 |
Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="[% scan_search_term_to_use | html %]" /> |
565 |
[% END %] |
293 |
[% ELSE %] |
566 |
[% END %] |
294 |
Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" /> |
567 |
<!-- </div> --> |
295 |
[% END %] |
568 |
[% END %] |
296 |
</td> |
569 |
</div> |
297 |
</tr> |
570 |
</div> |
298 |
<tr> |
571 |
[% END %] |
299 |
<td> |
|
|
300 |
<label for="scan-index">Indexed in:</label> |
301 |
<select name="idx" id="scan-index"> |
302 |
<option value="">Any word</option> |
303 |
[% IF ( ms_anycommaphr) %]<option selected="selected" value="any,phr">Any phrase</option> |
304 |
[% ELSE %]<option value="any,phr">Any phrase</option>[% END %] |
305 |
[% IF ( ms_ti ) %]<option selected="selected" value="ti">Title</option> |
306 |
[% ELSE %]<option value="ti">Title</option>[% END %] |
307 |
[% IF ( ms_ticommaphr ) %]<option selected="selected" value="ti,phr">Title phrase</option> |
308 |
[% ELSE %]<option value="ti,phr">Title phrase</option>[% END %] |
309 |
[% IF ( ms_aucommaphr ) %]<option selected="selected" value="au,phr">Author</option> |
310 |
[% ELSE %]<option value="au,phr">Author</option>[% END %] |
311 |
[% IF ( ms_su ) %]<option selected="selected" value="su">Subject</option> |
312 |
[% ELSE %]<option value="su">Subject</option>[% END %] |
313 |
[% IF ( ms_sucommaphr ) %]<option selected="selected" value="su,phr">Subject phrase</option> |
314 |
[% ELSE %]<option value="su,phr">Subject phrase</option>[% END %] |
315 |
[% IF ( ms_se ) %]<option selected="selected" value="se">Series</option> |
316 |
[% ELSE %]<option value="su">Series</option>[% END %] |
317 |
[% IF ( ms_pb ) %]<option selected="selected" value="pb">Publisher</option> |
318 |
[% ELSE %]<option value="pb">Publisher</option>[% END %] |
319 |
[% IF ( ms_nt ) %]<option selected="selected" value="nt">Notes</option> |
320 |
[% ELSE %]<option value="nt">Notes</option>[% END %] |
321 |
[% IF ( ms_sn ) %]<option selected="selected" value="sn">ISBN</option> |
322 |
[% ELSE %]<option value="sn">ISBN</option>[% END %] |
323 |
[% IF ( ms_ss ) %]<option selected="selected" value="ss">ISSN</option> |
324 |
[% ELSE %]<option value="ss">ISSN</option>[% END %] |
325 |
</select> |
326 |
<input type="hidden" name="scan" value="1" /> |
327 |
</td> |
328 |
</tr> |
329 |
</table> |
330 |
</form> |
331 |
|
332 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get"> |
333 |
<table> |
334 |
<tr> |
335 |
<th>Term/Phrase</th> |
336 |
<th>Count</th> |
337 |
</tr> |
338 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
339 |
<tr> |
340 |
<td> |
341 |
<a href="/cgi-bin/koha/catalogue/search.pl?idx=[% scan_index_to_use | uri %]&q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title | uri %]"">[% SEARCH_RESULT.title | html %]</a> |
342 |
</td> |
343 |
<td> |
344 |
[% SEARCH_RESULT.author | html %] |
345 |
</td> |
346 |
</tr> |
347 |
[% END %] |
348 |
</table> |
349 |
</form> |
350 |
[% ELSE # /IF scan %] |
351 |
|
352 |
<div id="searchresults"> |
353 |
[% INCLUDE 'page-numbers.inc' %] |
354 |
|
355 |
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="bookbag_form" id="bookbag_form"> |
356 |
[% IF ( searchdesc ) %] |
357 |
[% FOREACH QUERY_INPUT IN QUERY_INPUTS %] |
358 |
<input type="hidden" name="[% QUERY_INPUT.input_name | html %]" value="[% QUERY_INPUT.input_value | html %]"/> |
359 |
[% END %] |
360 |
[% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] |
361 |
<input type="hidden" name="[% LIMIT_INPUT.input_name | html %]" value="[% LIMIT_INPUT.input_value | html %]"/> |
362 |
[% END %] |
363 |
[% END %] |
572 |
|
364 |
|
573 |
<form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl"> |
365 |
<!-- TABLE RESULTS START --> |
574 |
<!-- Value will be set here by placeHold() --> |
366 |
<table> |
575 |
<input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" /> |
367 |
<tr> |
576 |
<input type="hidden" name="findborrower" id="holdFor" value="" /> |
368 |
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %] |
577 |
<input type="hidden" name="multi_hold" value="1"/> |
369 |
<th> </th> |
578 |
</form> |
370 |
[% END %] |
579 |
|
371 |
<th colspan="2">Results</th> |
580 |
<form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl"> |
372 |
<th>Location</th> |
581 |
<!-- Value will be set here by addToList() --> |
373 |
</tr> |
582 |
<input id="list_form_biblios" type="hidden" name="biblionumbers" value="" /> |
374 |
<!-- Actual Search Results --> |
583 |
<input type="hidden" name="multi_listadd" value="1"/> |
375 |
[% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %] |
584 |
</form> |
376 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
|
|
377 |
<tr> |
378 |
[% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %] |
379 |
<td> |
380 |
[% IF ( LocalCoverImages) %] |
381 |
<a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> |
382 |
<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> |
383 |
</a> |
384 |
[% END %] |
385 |
[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] |
386 |
<a href="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> |
387 |
[% END %] |
388 |
[% IF ( AmazonCoverImages ) %] |
389 |
[% IF ( SEARCH_RESULT.normalized_isbn ) %] |
390 |
<a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> |
391 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" /> |
392 |
[% ELSIF ( !LocalCoverImages ) %] |
393 |
<a class="p1 no-amazon-cover" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> |
394 |
<img src="https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" /> |
395 |
[% END %] |
396 |
</a> |
397 |
[% END # /IF AmazonCoverImages %] |
398 |
</td> |
399 |
[% END # /IF( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled )%] |
400 |
|
401 |
<td> |
402 |
<input type="checkbox" class="selection" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" style="display:none" /> |
403 |
</td> |
404 |
|
405 |
<td> |
406 |
[% UNLESS ( item_level_itypes ) %] |
407 |
<div class="result-biblio-itemtype"> |
408 |
[% IF !noItemTypeImages && SEARCH_RESULT.imageurl %] |
409 |
<img src="[% SEARCH_RESULT.imageurl | html %]" alt="[% SEARCH_RESULT.description | html %]" /> |
410 |
[% END %] |
411 |
[% SEARCH_RESULT.description | html %] |
412 |
</div> |
413 |
[% END %] |
414 |
|
415 |
[% SEARCH_RESULT.result_number | html %]. |
416 |
[% SEARCH_RESULT.XSLTResultsRecord | $raw %] |
417 |
|
418 |
<p class="hold"> |
419 |
[% IF ( SEARCH_RESULT.norequests ) %] |
420 |
<span class="noholdstext">No holds allowed</span> |
421 |
[% ELSE %] |
422 |
[% IF CAN_user_reserveforothers_place_holds %] |
423 |
<a id="reserve_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) | html %])</a> |
424 |
[% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]&findborrower=[% holdfor_cardnumber | uri %]">Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></span>[% END %] |
425 |
[% ELSE %] |
426 |
Holds ([% Biblio.HoldsCount( SEARCH_RESULT.biblionumber ) | html %]) |
427 |
[% END %] |
428 |
[% END # /IF SEARCH_RESULT.norequests %] |
429 |
|
430 |
[% IF Koha.Preference('intranetbookbag') == 1 %] |
431 |
[% IF ( SEARCH_RESULT.incart ) %] |
432 |
| <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">In your cart</a> <a class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a> |
433 |
[% ELSE %] |
434 |
| <a class="addtocart" id="cart[% SEARCH_RESULT.biblionumber | html %]" href="#">Add to cart</a> <a style="display:none;" class="cartRemove" id="cartR[% SEARCH_RESULT.biblionumber | html %]" href="#">(remove)</a> |
435 |
[% END %] |
436 |
[% END # / IF intranetbookbag %] |
437 |
|
438 |
[% IF Koha.Preference('ArticleRequests') %] |
439 |
| <a id="requst_article_[% SEARCH_RESULT.biblionumber | html %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]">Request article</a> |
440 |
[% END %] |
441 |
|
442 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] |
443 |
| <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit record</a> |
444 |
[% END %] |
445 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
446 |
| <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Edit items</a> |
447 |
[% END %] |
448 |
|
449 |
[% IF ( OPACBaseURL ) %] |
450 |
<span class="view-in-opac"> |
451 |
| <a href="[% Koha.Preference('OPACBaseURL') | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" target="_blank">OPAC view</a> |
452 |
</span> |
453 |
[% END %] |
454 |
</p> <!-- /.holds --> |
455 |
</td> |
456 |
|
457 |
<td> |
458 |
<div class="availability"> |
459 |
[% IF ( SEARCH_RESULT.items_count ) %] |
460 |
<strong> |
461 |
[% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] |
462 |
<span class="blocker inaccurate-item-statuses" title="Item statuses may be inaccurate. Please view the record details for accurate item statuses"> |
463 |
[% END %] |
464 |
|
465 |
[% tnx('{count} item', '{count} items', SEARCH_RESULT.items_count, {count = SEARCH_RESULT.items_count}) | html %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount | html %] available:[% ELSE %], None available[% END %] |
466 |
|
467 |
[% IF MaxSearchResultsItemsPerRecordStatusCheck && SEARCH_RESULT.items_count > MaxSearchResultsItemsPerRecordStatusCheck %] |
468 |
</span> |
469 |
[% END %] |
470 |
</strong> |
471 |
|
472 |
[% IF ( SEARCH_RESULT.availablecount ) %] |
473 |
<ul> |
474 |
[% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %] |
475 |
[% IF item_level_itypes && !noItemTypeImages && available_items_loo.imageurl %] |
476 |
<li style="list-style: none; list-style-type: none;"> |
477 |
<img src="[% available_items_loo.imageurl | html %]" title="[% available_items_loo.description | html %]" alt="[% available_items_loo.description | html %]" /> |
478 |
[% ELSE %] |
479 |
<li> |
480 |
[% END %] |
481 |
[% IF ( available_items_loo.branchname ) %] |
482 |
[% available_items_loo.branchname | html %] |
483 |
[% END %] |
484 |
[% IF ( available_items_loo.location ) %] |
485 |
<span class="shelvingloc">[% available_items_loo.location | html %]</span> |
486 |
[% END %] |
487 |
[% IF ( available_items_loo.itemcallnumber ) %] |
488 |
[<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber | html %]</a>] |
489 |
[% END %] |
490 |
([% available_items_loo.count | html %]) |
491 |
[% IF item_level_itypes && available_items_loo.description %] |
492 |
<br/>[% available_items_loo.description | html %] |
493 |
[% END %] |
494 |
</li> |
495 |
[% END # /FOREACH available_items_loo %] |
496 |
</ul> |
497 |
[% END # /IF SEARCH_RESULT.availablecount %] |
498 |
|
499 |
[% IF ( SEARCH_RESULT.onloancount ) %] |
500 |
<span class="status">[% SEARCH_RESULT.onloancount | html %] on loan:</span> |
501 |
<ul> |
502 |
[% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %] |
503 |
[% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %] |
504 |
<li style="list-style: none; list-style-type: none;"> |
505 |
<img src="[% onloan_items_loo.imageurl | html %]" title="[% onloan_items_loo.description | html %]" alt="[% onloan_items_loo.description | html %]" /> |
506 |
[% ELSE %] |
507 |
<li> |
508 |
[% END %] |
509 |
[% IF ( onloan_items_loo.branchname ) %] |
510 |
[% onloan_items_loo.branchname | html %] |
511 |
[% END %] |
512 |
[% IF ( onloan_items_loo.location ) %] |
513 |
<span class="shelvingloc">[% onloan_items_loo.location | html %]</span> |
514 |
[% END %] |
515 |
[% IF ( onloan_items_loo.itemcallnumber ) %] |
516 |
[<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber | html %]</a>] |
517 |
[% END %] |
518 |
([% onloan_items_loo.count | html %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue | html %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %] |
519 |
[% IF item_level_itypes && onloan_items_loo.description %] |
520 |
<br/>[% onloan_items_loo.description | html %] |
521 |
[% END %] |
522 |
</li> |
523 |
[% END # /FOREACH onloan_items_loo %] |
524 |
</ul> |
525 |
[% END # IF SEARCH_RESULT.onloancount %] |
526 |
|
527 |
[% IF ( SEARCH_RESULT.othercount ) %] |
528 |
<span class="unavailable">[% SEARCH_RESULT.othercount | html %] unavailable:</span> |
529 |
<ul> |
530 |
[% FOREACH other_items_loo IN SEARCH_RESULT.other_items_loop %] |
531 |
[% IF item_level_itypes && !noItemTypeImages && other_items_loo.imageurl %] |
532 |
<li style="list-style: none; list-style-type: none;"> |
533 |
<img src="[% other_items_loo.imageurl | html %]" title="[% other_items_loo.description | html %]" alt="[% other_items_loo.description | html %]" /> |
534 |
[% ELSE %] |
535 |
<li> |
536 |
[% END %] |
537 |
[% IF ( other_items_loo.branchname ) %] |
538 |
[% other_items_loo.branchname | html %] |
539 |
[% END %] |
540 |
[% IF ( other_items_loo.location ) %] |
541 |
<span class="shelvingloc">[% other_items_loo.location | html %]</span> |
542 |
[% END %] |
543 |
[% IF ( other_items_loo.itemcallnumber ) %] |
544 |
[<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% other_items_loo.itemcallnumber |uri %]%22">[% other_items_loo.itemcallnumber | html %]</a>] |
545 |
[% END %] |
546 |
[% IF ( other_items_loo.withdrawn ) %] |
547 |
([% AuthorisedValues.GetByCode( 'WITHDRAWN', other_items_loo.withdrawn ) | html %]) |
548 |
[% END %] |
549 |
[% IF ( other_items_loo.itemlost ) %] |
550 |
([% AuthorisedValues.GetByCode( 'LOST', other_items_loo.itemlost ) | html %]) |
551 |
[% END %] |
552 |
[% IF ( other_items_loo.damaged ) %] |
553 |
([% AuthorisedValues.GetByCode( 'DAMAGED', other_items_loo.damaged ) | html %]) |
554 |
[% END %] |
555 |
[% IF ( other_items_loo.intransit ) %] |
556 |
(In transit) |
557 |
[% END %] |
558 |
[% IF ( other_items_loo.onhold ) %] |
559 |
(On hold) |
560 |
[% END %] |
561 |
[% IF ( other_items_loo.notforloan ) %] |
562 |
[% other_items_loo.notforloan | html %] |
563 |
[% END %] |
564 |
([% other_items_loo.count | html %]) |
565 |
[% IF item_level_itypes && other_items_loo.description %] |
566 |
<br/>[% other_items_loo.description | html %] |
567 |
[% END %] |
568 |
</li> |
569 |
[% END # /FOREACH other_items_loo %] |
570 |
</ul> |
571 |
[% END # /IF SEARCH_RESULT.othercount %] |
572 |
|
573 |
[% ELSE # /IF ( SEARCH_RESULT.items_count ) %] |
574 |
|
575 |
[% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %] |
576 |
<strong id="altholdings_heading">Other holdings:</strong> |
577 |
<ul> |
578 |
[% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %] |
579 |
<li id="alternateholdings">[% ALTERNATEHOLDING.holding | html %]</li> |
580 |
[% END %] |
581 |
</ul> |
582 |
[% ELSE %] |
583 |
<span class="unavailable">No items</span> |
584 |
[% END %] |
585 |
[% END # /IF ( SEARCH_RESULT.items_count ) %] |
586 |
</div> <!-- /.availability --> |
587 |
</td> |
588 |
</tr> |
589 |
[% END # /FOREACH SEARCH_RESULT %] |
590 |
</table> |
591 |
</form> |
592 |
</div> <!-- /#bookbag_form --> |
593 |
[% END # /IF scan %] |
594 |
[% INCLUDE 'page-numbers.inc' %] |
595 |
[% ELSE #/IF total %] |
596 |
<!-- No Results Found --> |
597 |
[% END #/IF total %] |
598 |
|
599 |
[% IF ( outer_sup_results_loop ) %] |
600 |
</div> |
601 |
<div class="col-sm-4"> |
602 |
[% FOREACH outer_sup_results_loo IN outer_sup_results_loop %] |
603 |
[% IF ( outer_sup_results_loo.inner_sup_results_loop ) %] |
604 |
[% outer_sup_results_loo.servername | html %] |
605 |
[% FOREACH inner_sup_results_loo IN outer_sup_results_loo.inner_sup_results_loop %] |
606 |
<div> |
607 |
<a href="/cgi-bin/koha/catalogue/search.pl?[% inner_sup_results_loo.query_cgi | $raw %][% inner_sup_results_loo.limit_cgi | $raw %][% inner_sup_results_loo.sort_by | uri %][% inner_sup_results_loo.link | uri %]">[% inner_sup_results_loo.title | html %]</a> |
608 |
</div> |
609 |
[% END %] |
610 |
[% END %] |
611 |
[% END # FOREACH outer_sup_results_loo %] |
612 |
</div> <!-- /.col-sm-4 --> |
613 |
</div> |
614 |
[% END #/IF outer_sup_results_loop %] |
615 |
|
616 |
<form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl"> |
617 |
<!-- Value will be set here by placeHold() --> |
618 |
<input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" /> |
619 |
<input type="hidden" name="findborrower" id="holdFor" value="" /> |
620 |
<input type="hidden" name="multi_hold" value="1"/> |
621 |
</form> |
622 |
|
623 |
<form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl"> |
624 |
<!-- Value will be set here by addToList() --> |
625 |
<input id="list_form_biblios" type="hidden" name="biblionumbers" value="" /> |
626 |
<input type="hidden" name="multi_listadd" value="1"/> |
627 |
</form> |
585 |
|
628 |
|
586 |
</main> |
629 |
</main> |
587 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
630 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
588 |
- |
|
|