[Koha-bugs] [Bug 10464] Patron search on placing a hold doesn't use jqueryui.autocomplete
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 13 19:32:45 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10464
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 18946
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18946&action=edit
Bug 10464 - Patron search on placing a hold should provide autocomplete
We should provide the autocomplete feature, already present for the circulation
search
box, if CircAutocompl is properly set; and leave as it currently works
otherwise of
course.
This patch grabs the autocomplete handling javascript stuff from
patron-search-box.inc
and puts an adjusted version on reserve/request.tt and also adjusts form and
input
id's to match those configured in the autocomplete call. This changes where
needed
due to name collisions with the patron-search-box.inc that is present
everywhere.
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.
Note: once you apply the patch the width of the search input field will be
doubled. If you are oleonard and
prefer to stick with size=20, please amend the patch, I just prefered how it
looked at size=40.
Regards
To+
Sponsored-by: Universidad Nacional de Córdoba
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list