Bug 26572: Add autocomplete to librarian field in log viewer
commit38507b041ba3a448315d91294f032267679810bd
authorOwen Leonard <oleonard@myacpl.org>
Tue, 29 Sep 2020 11:12:31 +0000 (29 11:12 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Nov 2020 11:59:34 +0000 (4 12:59 +0100)
tree0539231f2c8f743a599bf86ab9ad1377275cd8b8
parentc2293d5c602b27b8f88d64d15eaa4de94e6bc16c
Bug 26572: Add autocomplete to librarian field in log viewer

This patch adds patron autocomplete to the librarian field in the log
viewer search form.

Also changed: Some HTML markup errors in the template have been
corrected: Labels with invalid corresponding ids or with no valid id.

To test, apply the patch and go to Tools -> Log Viewer.

Type a name or cardnumber into the "Librarian" form field. This should
trigger an autocomplete dropdown.

Select a patron and confirm that the field is populated with the correct
borrowernumber.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt
koha-tmpl/intranet-tmpl/prog/js/viewlog.js