453fd0da1e
In a production system, you don't usually search for the same patron over and over, so there's no sense for the browser to save a list of searched patrons in the patron quick search. Therefore, should set autocomplete=off for that input field. Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
24 lines
1.3 KiB
HTML
24 lines
1.3 KiB
HTML
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
|
<div id="circ_search" class="residentsearch">
|
|
<p class="tip">Enter patron card number or partial name:</p>
|
|
<form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post">
|
|
[% IF ( CircAutocompl ) %]
|
|
<div class="autocomplete">
|
|
<input autocomplete="off" id="findborrower" name="findborrower" size="40" class="head-searchbox focus" type="text" />
|
|
<input id="autocsubmit" type="submit" class="submit" value="Submit" />
|
|
[% IF ( stickyduedate ) %]
|
|
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
|
|
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
|
|
[% END %]
|
|
</div>
|
|
[% ELSE %]
|
|
<input id="findborrower" name="findborrower" size="40" class="head-searchbox focus" type="text" autocomplete="off" />
|
|
[% IF ( stickyduedate ) %]
|
|
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
|
|
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
|
|
[% END %]
|
|
<input value="Submit" class="submit" type="submit" />
|
|
[% END %]
|
|
</form>
|
|
</div>
|
|
[% END %]
|