From: erickson Date: Fri, 6 Aug 2010 19:37:08 +0000 (+0000) Subject: repaired circ-mod retrieval call to use retrieve instead of search X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4a5f5f5758e9e3b25b1c26d59e310976f06ce212;p=evergreen%2Fbjwebb.git repaired circ-mod retrieval call to use retrieve instead of search git-svn-id: svn://svn.open-ils.org/ILS/trunk@17121 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm index eaffd4088..e5e453276 100644 --- a/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm +++ b/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm @@ -216,7 +216,7 @@ sub run_attr_script { my $mod = $self->{copy}->circ_modifier; if($mod) { - my $mod_obj = OpenILS::SIP->editor()->search_config_circ_modifier($mod); + my $mod_obj = OpenILS::SIP->editor()->retrieve_config_circ_modifier($mod); if($mod_obj) { $config->{magneticMedia} = $mod_obj->magnetic_media; $config->{SIPMediaType} = $mod_obj->sip2_media_type;