http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12788
Katrin Fischer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #31315|0 |1 is obsolete| | Attachment #31316|0 |1 is obsolete| | Attachment #31317|0 |1 is obsolete| | --- Comment #18 from Katrin Fischer <[email protected]> --- Created attachment 31422 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31422&action=edit [PASSED QA] Bub 12788: (regression test) refactor facet extraction code to allow testing This patch refactors the facet extraction loop into a proper function. The loop is changed so the MARC::Record objects are created only once instead of the old/current behaviour: once for each defined facet (in C4::Koha::getFacets). To test: - Apply the patch => SUCCESS: verify facets functionality remains unchanged. - Run: $ prove -v t/db_dependent/Search.t => SUCCESS: tests for _get_facets_data_from_record fail, because 100$a is considered for fields with indicator 1=z (field added by IncludeSeeFromInSearches syspref). - Sign off :-D Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Nick Clemens <[email protected]> Signed-off-by: David Cook <[email protected]> Signed-off-by: Katrin Fischer <[email protected]> Works as described, passes tests and QA script. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
