94191e5bfe
Keyboard shortcuts for catalog search, check in and renew should be following: 1) Alt-q for catalog search 2) Alt-r for check in 3) Alt-w for renew However on some of the pages shortcuts get mixed up: 1) Alt-w for catalog search 2) Alt-q for check in 3) Alt-r for renew Affected files are: circ/pendingreserves.tt circ/circulation_batch_checkouts.tt circ/circulation-home.tt circ/branchtransfers.tt circ/branchoverdues.tt circ/set-library.tt circ/checkout-notes.tt circ/renew.tt circ/waitingreserves.tt circ/transferstoreceive.tt circ/offline.tt circ/bookcount.tt circ/on-site_checkouts.tt circ/circulation.tt circ/transfers_to_send.tt circ/request-article.tt circ/overdue.tt circ/reserveratios.tt offline_circ/list.tt offline_circ/process_koc.tt offline_circ/enqueue_koc.tt plugins/plugins-upload.tt plugins/plugins-disabled.tt pos/registers.tt pos/register.tt pos/pay.tt reports/reports-home.tt reports/dictionary.tt reports/guided_reports_start.tt reserve/request.tt tools/scheduler.tt This is because the include statement for catalogue-search-box.inc is in the wrong line in circ-search.inc. To test: 1) Go to an affected page (circulation-home was the first one I noticed) 2) Try the keyboard shortcuts and notice they are incorrect 3) Apply patch and refresh the page 4) Notice that the keys work properly Signed-off-by: Andrew <andrewfh@dubcolib.org> Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
34 lines
1.8 KiB
HTML
34 lines
1.8 KiB
HTML
[% USE Koha %]
|
|
<div class="gradient">
|
|
<div id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></div><!-- Begin Circulation Resident Search Box -->
|
|
|
|
<div id="header_search">
|
|
[% INCLUDE 'patron-search-box.inc' %]
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
|
<div id="checkin_search" class="residentsearch">
|
|
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
|
|
<label class="tip" for="ret_barcode">Scan a barcode to check in:</label>
|
|
<input class="head-searchbox" name="barcode" id="ret_barcode" size="40" accesskey="r" type="text" />
|
|
<input value="Submit" class="submit" type="submit" />
|
|
</form>
|
|
</div>
|
|
<div id="renew_search" class="residentsearch">
|
|
<form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
|
|
<label class="tip" for="ren_barcode">Scan a barcode to renew:</label>
|
|
<input class="head-searchbox" name="barcode" id="ren_barcode" size="40" type="text" />
|
|
<input value="Submit" class="submit" type="submit" />
|
|
</form>
|
|
</div>
|
|
[% END %]
|
|
[% INCLUDE 'catalogue-search-box.inc' %]
|
|
|
|
<ul>
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
|
|
[% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
|
|
</ul>
|
|
|
|
</div><!-- /header_search -->
|
|
</div><!-- /gradient -->
|
|
<!-- End Circulation Resident Search Box -->
|