Bug 19451: (QA follow-up) Replace weird subquery
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 9 Feb 2018 10:47:52 +0000 (11:47 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 21:02:00 +0000 (18:02 -0300)
commitca161474f3f01e9b1b444a2bc21566de6e17afdb
treeb2c7b3cc8297bde306d30df683a88bb3455969d9
parente9f096fec335b9a1b453e4c56f30f8d9aa22652b
Bug 19451: (QA follow-up) Replace weird subquery

As requested, we add a JOIN and make the SELECT distinct.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested that no-overwrite still works as expected.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
misc/maintenance/borrowers-force-messaging-defaults.pl