[Koha-bugs] [Bug 19451] Let borrowers-force-messaging-defaults.pl optionally add preferences only when not already present
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 8 19:04:30 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19451
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at bugs.koha-c
| |ommunity.org
--- Comment #8 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
+ if( $no_overwrite ) {
+ $sql .= " AND (SELECT COUNT(*) FROM borrower_message_preferences mp
WHERE mp.borrowernumber=bo.borrowernumber) = 0"
+ }
This is weird, I think you want to add a join here instead.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list