Lines 109-120
sub store {
Link Here
|
109 |
if ( C4::Context->preference("AuthorizedValuesLog") ) { |
109 |
if ( C4::Context->preference("AuthorizedValuesLog") ) { |
110 |
$self->replace_library_limits($branches); |
110 |
$self->replace_library_limits($branches); |
111 |
my $action = $new_authorized_value ? 'CREATE' : 'MODIFY'; |
111 |
my $action = $new_authorized_value ? 'CREATE' : 'MODIFY'; |
112 |
|
112 |
my $output = { |
113 |
logaction( |
|
|
114 |
'AUTHORIZEDVALUE', |
115 |
$action, |
116 |
$self->id, |
117 |
{ |
118 |
authorised_value => $self->authorised_value, |
113 |
authorised_value => $self->authorised_value, |
119 |
id => $self->id, |
114 |
id => $self->id, |
120 |
category => $self->category, |
115 |
category => $self->category, |
Lines 122-128
sub store {
Link Here
|
122 |
lib => $self->lib, |
117 |
lib => $self->lib, |
123 |
lib_opac => $self->lib_opac, |
118 |
lib_opac => $self->lib_opac, |
124 |
imageurl => $self->imageurl |
119 |
imageurl => $self->imageurl |
125 |
}, |
120 |
}; |
|
|
121 |
my $formatted_output = Data::Dumper::Dumper($object); |
122 |
logaction( |
123 |
'AUTHORIZEDVALUE', |
124 |
$action, |
125 |
$self->id, |
126 |
$formatted_output, |
126 |
undef, |
127 |
undef, |
127 |
$original |
128 |
$original |
128 |
); |
129 |
); |
129 |
- |
|
|