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, 19.11.x has been updated via e78231f3f63ed49fc65ac653e57159a8aba7fbe2 (commit) via 448915cc3d8dcd92ce93736bea09a5a0a113dc03 (commit) from 4178233de18d8bb94ebc65e7a8d1f6afec6aeff2 (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 e78231f3f63ed49fc65ac653e57159a8aba7fbe2 Author: Tomas Cohen Arazi <tomasco...@theke.io> Date: Mon May 11 10:10:39 2020 -0300 Bug 24458: Use the ViewPolicy filter on search results This patch implements the use of the ViewPolicy record processor filter inside C4::Search::searchResults. The idea is that the $record_processor is instantiated once and reused inside the loop. This leaves options for further optimizations I will do on a follow-up bug. The filter is applied to the MARC data before it is passed to the XSLT processor. To test: 1. Apply the regression tests patch 2. Run: $ kshell k$ prove t/db_dependent/Search.t => FAIL: This is not implemented, tests fail 3. Apply this patch 4. Repeat 2 5. Feel the joy in your body from a long standing bug being solved 6. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io> Signed-off-by: Victor Grousset/tuxayo <vic...@tuxayo.net> Signed-off-by: Nick Clemens <n...@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvo...@ptfs-europe.com> Signed-off-by: Joy Nelson <j...@bywatersolutions.com> commit 448915cc3d8dcd92ce93736bea09a5a0a113dc03 Author: Tomas Cohen Arazi <tomasco...@theke.io> Date: Mon May 11 10:08:36 2020 -0300 Bug 24458: Regression tests This patch introduces tests for searchResults. The idea is to set a subfield as hidden in OPAC and another on the staff interface, and see if searchResults honours this on the XSLTResultsRecord contents. To test: 1. Apply this patch 2. Run: $ kshell k$ prove t/db_dependent/Search.t => FAIL: This is not really implemented Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io> Signed-off-by: Victor Grousset/tuxayo <vic...@tuxayo.net> Signed-off-by: Nick Clemens <n...@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvo...@ptfs-europe.com> Signed-off-by: Joy Nelson <j...@bywatersolutions.com> ----------------------------------------------------------------------- Summary of changes: C4/Search.pm | 11 +++++++++++ t/db_dependent/Search.t | 50 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 1 deletion(-) hooks/post-receive -- main Koha release repository _______________________________________________ koha-commits mailing list koha-commits@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits