Bug 33360: Extend Koha::Notice::Util with domain groups
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 3 Apr 2023 14:29:22 +0000 (16:29 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Apr 2023 14:35:30 +0000 (11:35 -0300)
commitf27a43c54a64a9d10b34ae699b61414c40544fc7
treecc6cd0e227ddd14a2910ec00bed74a3b84c5ba2c
parent0cbbd1b3d2cc92092fb2d87b285b4c75233faa59
Bug 33360: Extend Koha::Notice::Util with domain groups

The functionality is extended a bit here by:
[1] Allowing to combine domains in a shared count.
[2] Only counting sent messages for the specified
    domains when it is really needed.

Test plan:
Run t/db_dependent/Koha/Notice_Util.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Notice/Util.pm
t/db_dependent/Koha/Notice_Util.t