https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31061
David Nind <da...@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |da...@davidnind.com --- Comment #8 from David Nind <da...@davidnind.com> --- I had a go at testing using KTD and the sample data. I couldn't replicate the issue before the patch was applied, and there were no differences in the expected results with 943$n set to Yes, No and removed. I've set out what I did below. Before the patch was applied ============================ Using Elasticsearch, index rebuilt (koha-elasticsearch --rebuild -d -b -a kohadev) OpacSuppression = Don't hide: 435 records OpacSuppression = Hide: 433 records Records that are suppressed already in the sample data = 2: biblionumber 232 and 234 (used report to find https://wiki.koha-community.org/wiki/SQL_Reports_Library#Bibs_Suppressed_in_OPAC) Recorded edited with OpacSuppression = Hide: 126 (Intermediate Perl) - 942$n = Yes: records = 432 (as expected) (435 - 2 records already hidden - 1 new record) - 942$n = No: records = 433 (as expected) - 942$n = removed: records = 433 (as expected) Tests pass: prove t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t After the patch is applied ========================== Using Elasticsearch, index rebuilt (koha-elasticsearch --rebuild -d -b -a kohadev) OpacSuppression = Don't hide: 435 records OpacSuppression = Hide: 433 records Records that are suppressed already in the sample data = 2: biblionumber 232 and 234 (used report to find https://wiki.koha-community.org/wiki/SQL_Reports_Library#Bibs_Suppressed_in_OPAC) Recorded edited with OpacSuppression = Hide: 126 (Intermediate Perl) - 942$n = Yes: records = 432 (as expected) (435 - 2 records already hidden - 1 new record) - 942$n = No: records = 433 (as expected) - 942$n = removed: records = 433 (as expected) Tests pass: prove t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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/