Lines 232-237
Link Here
|
232 |
<a href="/cgi-bin/koha/catalogue/search.pl" class="btn btn-default"><i class="fa fa-search"></i> Go to advanced search</a> |
232 |
<a href="/cgi-bin/koha/catalogue/search.pl" class="btn btn-default"><i class="fa fa-search"></i> Go to advanced search</a> |
233 |
</div> |
233 |
</div> |
234 |
</div> |
234 |
</div> |
|
|
235 |
<fieldset> |
236 |
<label class="form-field-label">Forget item selections from previous search</label> |
237 |
<input type="checkbox" name="forget_item_selections" id="forget_item_selections" value="forget_item_selections" checked="checked" /> |
238 |
</fieldset> |
235 |
<fieldset> |
239 |
<fieldset> |
236 |
[% INCLUDE form_field_select name="homebranch" options = branches %] |
240 |
[% INCLUDE form_field_select name="homebranch" options = branches %] |
237 |
[% INCLUDE form_field_select name="holdingbranch" options = branches %] |
241 |
[% INCLUDE form_field_select name="holdingbranch" options = branches %] |
Lines 737-742
Link Here
|
737 |
|
741 |
|
738 |
$('#itemsearchform').submit(function() { |
742 |
$('#itemsearchform').submit(function() { |
739 |
var searchform = $(this); |
743 |
var searchform = $(this); |
|
|
744 |
if( $("#forget_item_selections").is(':checked') ){ |
745 |
localStorage.removeItem("item_search_selections"); |
746 |
} |
740 |
var format = searchform.find('input[name="format"]:checked').val(); |
747 |
var format = searchform.find('input[name="format"]:checked').val(); |
741 |
if (format == 'html') { |
748 |
if (format == 'html') { |
742 |
submitForm(searchform); |
749 |
submitForm(searchform); |
743 |
- |
|
|