]> git.koha-community.org Git - koha.git/commit
Bug 34083: Add searching for full term on patron auto-complete
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 21 Jun 2023 16:10:17 +0000 (16:10 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Jul 2023 14:34:16 +0000 (15:34 +0100)
commitc93e7167f6431b9ad9b96111bda2e637a8eca14c
tree490f891dd700d012a4b1bcbcf1e7b14bb580f7b1
parentfd2423140705292b5f4d3b28afaf7abea7b7103a
Bug 34083: Add searching for full term on patron auto-complete

To reproduce, on k-t-d:
1) Create a new patron of category 'School'
2) Enter 'Middle school high school' on the mandatory 'Name' field and put something in 'Card number:'
3) Visit patron lists at /cgi-bin/koha/patron_lists/lists.pl and click 'New patron list'
4) Put something in 'Name:' and click 'Save'
5) On the 'Patron search' input, enter 'middle school high school' slowly and observe the auto-complete behaviour
6) Notice how after you start typing the second word, the auto complete results vanish.
7) Apply patch, repeat plan and verify it now works as expected.

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a8e9b25d8e1a1da19a22f20c3cd74ed8a32e3ffb)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/patron-autocomplete.js