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