]> git.koha-community.org Git - koha.git/commit
Bug 24750: Instructor Search Results
authorJoseph Sikowitz <joe@flo.org>
Sat, 18 Apr 2020 20:06:05 +0000 (16:06 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 14 May 2020 21:16:34 +0000 (21:16 +0000)
commit693069ea1e73a3bc421c0a83918da03ec0ace6cc
treed7393c16c6ce65e3f791721379b0f26408707c27
parentfe19f528ab06f72512964f929741aa7fee0e31e4
Bug 24750: Instructor Search Results

Adds regex to the split() of the passed parameters to improve searching.

Test plan
1. Go to Course Reserves module.
2. Press New course button.
3. Make active the instructor search box.
4. Start typing the last name of a patron that exists in your database.
5. At the end of the last name type ", " and try to add a first name.
6. The search should fail.
7. Apply the patch.
8. Follow steps 1-5 again.
9. You should now be able to search using the following methods
9a. surname, firstname
9b. firstname surname

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 85339f38a096c63a9794cab424b4b4d4ce94e291)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
circ/ysearch.pl