Bug 14322: (QA follow-up) Tidy itemsearch.tt

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Paul Derscheid 2024-08-15 10:31:40 +00:00 committed by Katrin Fischer
parent ab6c1b02b9
commit b54d5cdcee
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
[% ELSE %]
[% SET j = i - 1 %]
<select name="c" class="form-field-conjunction">
[% IF query.param('c').$j == 'and' || query.param('c') == 'and' %]
[% IF query.param('c').$j == 'and' || query.param('c') == 'and' %]
<option value="and" selected="selected">AND</option>
<option value="or">OR</option>
[% ELSE %]
@ -828,7 +828,7 @@
});
let urlParams = new URLSearchParams(window.location.search)
if(urlParams.get('format') === 'shareable' ) {
if (urlParams.get('format') === 'shareable') {
submitForm($('#itemsearchform'));
$("#item-search-block").hide();
}