https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29087

Andreas Jonsson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #39 from Andreas Jonsson <[email protected]> ---
This does not work!  The  method get_effective_rule cannot be used to filter on
rule_value!

my $default_rule = Koha::CirculationRules->get_effective_rule(
                {
                    rule_name    => 'holdallowed',
                    rule_value   => 'not_allowed',
                }
            );
print Dumper($default_rule->unblessed);

$VAR1 = {
          'categorycode' => undef,
          'branchcode' => undef,
          'rule_value' => 'from_any_library',
          'id' => 268,
          'itemtype' => undef,
          'rule_name' => 'holdallowed'
        };

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to