Lines 30-35
Link Here
|
30 |
[%- CASE 'itemlost' %]<span>Lost</span> |
30 |
[%- CASE 'itemlost' %]<span>Lost</span> |
31 |
[%- CASE 'withdrawn' %]<span>Withdrawn</span> |
31 |
[%- CASE 'withdrawn' %]<span>Withdrawn</span> |
32 |
[%- CASE 'new_status' %]<span>Is new</span> |
32 |
[%- CASE 'new_status' %]<span>Is new</span> |
|
|
33 |
[%- CASE 'onloan' %]<span>Checked out</span> |
33 |
[%- END -%] |
34 |
[%- END -%] |
34 |
[%- END -%] |
35 |
[%- END -%] |
35 |
|
36 |
|
Lines 138-143
Link Here
|
138 |
[% loc.label = loc.lib %] |
139 |
[% loc.label = loc.lib %] |
139 |
[% END %] |
140 |
[% END %] |
140 |
|
141 |
|
|
|
142 |
[% onloan = [ |
143 |
{ |
144 |
value = '0', |
145 |
label = 'Available', |
146 |
}, |
147 |
{ |
148 |
value = '1', |
149 |
label = 'Checked out', |
150 |
} |
151 |
] %] |
152 |
|
141 |
[%# Page starts here %] |
153 |
[%# Page starts here %] |
142 |
|
154 |
|
143 |
[% SET footerjs = 1 %] |
155 |
[% SET footerjs = 1 %] |
Lines 160-165
Link Here
|
160 |
|
172 |
|
161 |
<div id="item-search-block"> |
173 |
<div id="item-search-block"> |
162 |
<h1>Item search</h1> |
174 |
<h1>Item search</h1> |
|
|
175 |
|
163 |
<p><a href="/cgi-bin/koha/catalogue/search.pl">Go to advanced search</a></p> |
176 |
<p><a href="/cgi-bin/koha/catalogue/search.pl">Go to advanced search</a></p> |
164 |
<form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform"> |
177 |
<form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform"> |
165 |
<div id="toolbar" class="btn-toolbar"> |
178 |
<div id="toolbar" class="btn-toolbar"> |
Lines 190-195
Link Here
|
190 |
[% IF withdrawns.size %] |
203 |
[% IF withdrawns.size %] |
191 |
[% INCLUDE form_field_select name="withdrawn" options = withdrawns empty_option = "All statuses" %] |
204 |
[% INCLUDE form_field_select name="withdrawn" options = withdrawns empty_option = "All statuses" %] |
192 |
[% END %] |
205 |
[% END %] |
|
|
206 |
[% INCLUDE form_field_select name="onloan" options = onloan empty_option = "All statuses" %] |
193 |
</fieldset> |
207 |
</fieldset> |
194 |
<fieldset> |
208 |
<fieldset> |
195 |
[% INCLUDE form_field_select_text %] |
209 |
[% INCLUDE form_field_select_text %] |
Lines 313-318
Link Here
|
313 |
+ ' <th id="items_itemlost">' + _("Lost status") + '</th>' |
327 |
+ ' <th id="items_itemlost">' + _("Lost status") + '</th>' |
314 |
+ ' <th id="items_widthdrawn">' + _("Withdrawn status") + '</th>' |
328 |
+ ' <th id="items_widthdrawn">' + _("Withdrawn status") + '</th>' |
315 |
+ ' <th id="items_checkouts">' + _("Checkouts") + '</th>' |
329 |
+ ' <th id="items_checkouts">' + _("Checkouts") + '</th>' |
|
|
330 |
+ ' <th id="items_availability">' + _("Availability") + '</th>' |
331 |
+ ' <th id="items_duedate">' + _("Due date") + '</th>' |
316 |
+ ' <th id=""></th>' |
332 |
+ ' <th id=""></th>' |
317 |
+ ' </tr>' |
333 |
+ ' </tr>' |
318 |
var table = '' |
334 |
var table = '' |
Lines 469-474
Link Here
|
469 |
{ 'sName': 'itemlost' }, |
485 |
{ 'sName': 'itemlost' }, |
470 |
{ 'sName': 'withdrawn' }, |
486 |
{ 'sName': 'withdrawn' }, |
471 |
{ 'sName': 'issues' }, |
487 |
{ 'sName': 'issues' }, |
|
|
488 |
{ 'sName': 'availability' }, |
489 |
{ 'sName': 'duedate' }, |
472 |
{ 'sName': 'actions', 'bSortable': false } |
490 |
{ 'sName': 'actions', 'bSortable': false } |
473 |
], |
491 |
], |
474 |
"sPaginationType": "full_numbers" |
492 |
"sPaginationType": "full_numbers" |
Lines 515-520
Link Here
|
515 |
null, |
533 |
null, |
516 |
[% END %] |
534 |
[% END %] |
517 |
{ 'type': 'text' }, |
535 |
{ 'type': 'text' }, |
|
|
536 |
{ 'type': 'text' }, |
537 |
{ 'type': 'text' }, |
518 |
null |
538 |
null |
519 |
] |
539 |
] |
520 |
}); |
540 |
}); |
521 |
- |
|
|