View | Details | Raw Unified | Return to bug 12802
Collapse All | Expand All

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 45-51 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
45
('autoBarcode','OFF','incremental|annual|hbyymmincr|EAN13|OFF','Used to autogenerate a barcode: incremental will be of the form 1, 2, 3; annual of the form 2007-0001, 2007-0002; hbyymmincr of the form HB08010001 where HB=Home Branch','Choice'),
45
('autoBarcode','OFF','incremental|annual|hbyymmincr|EAN13|OFF','Used to autogenerate a barcode: incremental will be of the form 1, 2, 3; annual of the form 2007-0001, 2007-0002; hbyymmincr of the form HB08010001 where HB=Home Branch','Choice'),
46
('AutoCreateAuthorities','0',NULL,'Automatically create authorities that do not exist when cataloging records.','YesNo'),
46
('AutoCreateAuthorities','0',NULL,'Automatically create authorities that do not exist when cataloging records.','YesNo'),
47
('AutoEmailOpacUser','0',NULL,'Sends notification emails containing new account details to patrons - when account is created.','YesNo'),
47
('AutoEmailOpacUser','0',NULL,'Sends notification emails containing new account details to patrons - when account is created.','YesNo'),
48
('AutoEmailPrimaryAddress','OFF','email|emailpro|B_email|cardnumber|OFF','Defines the default email address where \'Account Details\' emails are sent.','Choice'),
48
('AutoEmailPrimaryAddress','OFF','email|emailpro|B_email|cardnumber|OFF','Defines the default email address where \'Account Details\' emails are sent.','multiple'),
49
('AutoLocation','0',NULL,'If ON, IP authentication is enabled, blocking access to the staff client from unauthorized IP addresses','YesNo'),
49
('AutoLocation','0',NULL,'If ON, IP authentication is enabled, blocking access to the staff client from unauthorized IP addresses','YesNo'),
50
('AutomaticItemReturn','1',NULL,'If ON, Koha will automatically set up a transfer of this item to its homebranch','YesNo'),
50
('AutomaticItemReturn','1',NULL,'If ON, Koha will automatically set up a transfer of this item to its homebranch','YesNo'),
51
('autoMemberNum','1','','If ON, patron number is auto-calculated','YesNo'),
51
('autoMemberNum','1','','If ON, patron number is auto-calculated','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+9 lines)
Lines 8705-8710 if ( CheckVersion($DBversion) ) { Link Here
8705
}
8705
}
8706
8706
8707
8707
8708
$DBversion = "3.17.00.XXX";
8709
if ( CheckVersion($DBversion) ) {
8710
    $dbh->do(q{
8711
        UPDATE systempreferences SET type='multiple' WHERE variable='AutoEmailPrimaryAddress'
8712
    });
8713
    print "Upgrade to $DBversion done (Bug 12802: AutoEmailPrimaryAddress is now multiple\n";
8714
    SetVersion ($DBversion);
8715
}
8716
8708
=head1 FUNCTIONS
8717
=head1 FUNCTIONS
8709
8718
8710
=head2 TableExists($table)
8719
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-2 / +1 lines)
Lines 16-22 Patrons: Link Here
16
         - "Use"
16
         - "Use"
17
         - pref: AutoEmailPrimaryAddress
17
         - pref: AutoEmailPrimaryAddress
18
           default: "OFF"
18
           default: "OFF"
19
           choices:
19
           multiple:
20
               email: home
20
               email: home
21
               emailpro: work
21
               emailpro: work
22
               B_email: alternate
22
               B_email: alternate
23
- 

Return to bug 12802