[Bug 1985] Email notification of new OPAC comments
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1985 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #91198|0 |1 is obsolete| | --- Comment #93 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 91823 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91823&action=edit Bug 1985: (follow-up) Fix Reviews.t logic Read the tests to make sure they make sense. Before the patch is applied, they don't. $nb_of_approved_reviews + 2 did not make sense, because the three reviews added were not approved. search->count counts everything, so the use of approved+3 didn't make sense. Rather than duplicate the search->count test, changed the first one to reflect that the added reviews were all unapproved. Before applying patch, prove fails. After applying patch, prove passes. Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org