]> git.koha-community.org Git - koha.git/commit
Bug 18887: Insert undef instead of '*'
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Jul 2018 14:04:35 +0000 (11:04 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 3 Oct 2018 17:58:14 +0000 (17:58 +0000)
commitf185785b8cb02a5882cb45219b7af39f99025ef0
tree3d9299fc59342a42dc05ceafadd24c2d8473d826
parent2eeee4c5253d8e30e51b4890849fcbee9c17ee67
Bug 18887: Insert undef instead of '*'

Koha::CirculationRules->get_effective_rule will become the method to
call to retrieve a specific rule, we should start using it when
possible.

Moreover undef could replace '*' to mean 'any', that way we will be able
to add FK on circulation_rules

TODO: Add more tests

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Jesse Maseto <jesse@bywatersolution.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Reserves.pm
Koha/CirculationRules.pm
admin/smart-rules.pl