Koha/koha-tmpl/intranet-tmpl/prog/en
Tomas Cohen Arazi dc94a9bef7 Bug 10464: Patron search on placing a hold now supports autocomplete
The patron search box for placing a hold request on a bib in the
staff interface now supports autocomplete if the CircAutocompl
system preference is enabled.

This patch grabs the autocomplete handling javascript stuff from patron-search-box.inc
and puts an adjusted version on reserve/request.tt.  It sets form and input
IDs to match those configured in the autocomplete call, adjusted where needed to
avoid name collisions with the patron-search-box.inc that is present everywhere.

This patch also doubles the width of the patron search input field.

To test:
- On a biblio record, go to the Holds tab, mine looks like
  /cgi-bin/koha/reserve/request.pl?biblionumber=2
- A search box is shown for patron searching.
- Search for a patron: it works as usual.
- Make sure CircAutocompl is "Don't try"
- Apply the patch
- Click the Holds tab again, and do the same search: functionality should remain intact.
- Change CircAutocompl to "Try"
- Click the Holds tab again
- Autocomplete should show you the possible options, and once you choose one result,
  it should work as usual.

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Adding a nice new autocomplete feature.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-06-16 18:38:30 -07:00
..
css Bug 10315 - Use easier readable font for generated passwords 2013-06-14 08:15:44 -07:00
includes Bug 9779 - Remove global include of YUI assets from the staff client 2013-06-16 15:24:19 -07:00
js Bug 9424: Move JavaScript out of header include 2013-05-28 07:46:19 -07:00
lib Bug 9034: Add sorting and filtering on items table (catalogue/detail.pl) 2013-02-07 19:35:51 -05:00
modules Bug 10464: Patron search on placing a hold now supports autocomplete 2013-06-16 18:38:30 -07:00
xslt Bug 10284: Add missing spaces between label and content in XSLT view (780/785) 2013-05-28 07:44:05 -07:00
columns.def Bug 5482 [Follow up] Translation problem in guided reports - Item field names 2012-03-22 11:16:27 +01:00