Lines 51-56
if ( $op eq 'add_form' ) {
Link Here
|
51 |
my $authtypecode = $input->param('authtypecode'); |
51 |
my $authtypecode = $input->param('authtypecode'); |
52 |
my $authtypetext = $input->param('authtypetext'); |
52 |
my $authtypetext = $input->param('authtypetext'); |
53 |
my $auth_tag_to_report = $input->param('auth_tag_to_report'); |
53 |
my $auth_tag_to_report = $input->param('auth_tag_to_report'); |
|
|
54 |
my $subfield_to_report_in_1 = $input->param('subfield_to_report_in_1'); |
54 |
my $summary = $input->param('summary'); |
55 |
my $summary = $input->param('summary'); |
55 |
my $is_a_modif = $input->param('is_a_modif'); |
56 |
my $is_a_modif = $input->param('is_a_modif'); |
56 |
|
57 |
|
Lines 58-63
if ( $op eq 'add_form' ) {
Link Here
|
58 |
my $authority_type = Koha::Authority::Types->find($authtypecode); |
59 |
my $authority_type = Koha::Authority::Types->find($authtypecode); |
59 |
$authority_type->authtypetext($authtypetext); |
60 |
$authority_type->authtypetext($authtypetext); |
60 |
$authority_type->auth_tag_to_report($auth_tag_to_report); |
61 |
$authority_type->auth_tag_to_report($auth_tag_to_report); |
|
|
62 |
$authority_type->subfield_to_report_in_1($subfield_to_report_in_1); |
61 |
$authority_type->summary($summary); |
63 |
$authority_type->summary($summary); |
62 |
eval { $authority_type->store; }; |
64 |
eval { $authority_type->store; }; |
63 |
if ($@) { |
65 |
if ($@) { |
Lines 70-75
if ( $op eq 'add_form' ) {
Link Here
|
70 |
{ authtypecode => $authtypecode, |
72 |
{ authtypecode => $authtypecode, |
71 |
authtypetext => $authtypetext, |
73 |
authtypetext => $authtypetext, |
72 |
auth_tag_to_report => $auth_tag_to_report, |
74 |
auth_tag_to_report => $auth_tag_to_report, |
|
|
75 |
subfield_to_report_in_1 => $subfield_to_report_in_1, |
73 |
summary => $summary, |
76 |
summary => $summary, |
74 |
} |
77 |
} |
75 |
); |
78 |
); |