[koha-commits] main Koha release repository branch master updated. v3.22.00-1456-gc474b9f
Git repo owner
gitmaster at git.koha-community.org
Fri Apr 29 17:47:19 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via c474b9fd30812b85255795de88e74fd87a1258c1 (commit)
via 9060c5275fb9bab226f33cbb7414caedfcee3e20 (commit)
from 6d7aa51a401b9a427ac143e53a8f898c15065eb6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c474b9fd30812b85255795de88e74fd87a1258c1
Author: Magnus Enger <magnus at libriotech.no>
Date: Tue Apr 26 12:49:40 2016 +0200
Bug 16316 - QA FOLLOWUP - Add tests
Add 6 tests for searching by surname.
To test, run: prove t/db_dependent/Utils/Datatables_Members.t
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 9060c5275fb9bab226f33cbb7414caedfcee3e20
Author: Magnus Enger <magnus at libriotech.no>
Date: Thu Apr 21 14:58:11 2016 +0200
Bug 16316 - Limit patron search to surname
This patch makes it possible to limit a patron search to
search just for surnames.
To test:
- Apply the patch
- Add two patrons, called e.g. "John Doe" and "Doe John"
- Go to Patrons in the Intranet
- Make sure you have selected "Search fields" = Standard
- Search for "john" and verify both patrons show up
- Search for "doe" and verify both patrons show up
- Set "Search fields" = Surname and search for "john".
"Doe John" should show up, but not "John Doe".
- Set "Search fields" = Surname and search for "doe".
"John Doe" should show up, but not "Doe John".
Update: Revised the last point in the test plan.
Sponsored-by: Alingsås Public Library, Sweden
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Utils/DataTables/Members.pm | 1 +
.../prog/en/includes/patron-search.inc | 5 ++
.../prog/en/modules/members/member.tt | 5 ++
t/db_dependent/Utils/Datatables_Members.t | 79 +++++++++++++++++++-
4 files changed, 89 insertions(+), 1 deletion(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list