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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 47-53 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
47
('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'),
47
('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'),
48
('AutoCreateAuthorities','0',NULL,'Automatically create authorities that do not exist when cataloging records.','YesNo'),
48
('AutoCreateAuthorities','0',NULL,'Automatically create authorities that do not exist when cataloging records.','YesNo'),
49
('AutoEmailOpacUser','0',NULL,'Sends notification emails containing new account details to patrons - when account is created.','YesNo'),
49
('AutoEmailOpacUser','0',NULL,'Sends notification emails containing new account details to patrons - when account is created.','YesNo'),
50
('AutoEmailPrimaryAddress','OFF','email|emailpro|B_email|cardnumber|OFF','Defines the default email address where \'Account Details\' emails are sent.','Choice'),
50
('AutoEmailPrimaryAddress','OFF','email|emailpro|B_email|cardnumber|OFF','Defines the default email address where \'Account Details\' emails are sent.','multiple'),
51
('AutoLocation','0',NULL,'If ON, IP authentication is enabled, blocking access to the staff client from unauthorized IP addresses','YesNo'),
51
('AutoLocation','0',NULL,'If ON, IP authentication is enabled, blocking access to the staff client from unauthorized IP addresses','YesNo'),
52
('AutomaticItemReturn','1',NULL,'If ON, Koha will automatically set up a transfer of this item to its homebranch','YesNo'),
52
('AutomaticItemReturn','1',NULL,'If ON, Koha will automatically set up a transfer of this item to its homebranch','YesNo'),
53
('autoMemberNum','1','','If ON, patron number is auto-calculated','YesNo'),
53
('autoMemberNum','1','','If ON, patron number is auto-calculated','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+9 lines)
Lines 9773-9778 if ( CheckVersion($DBversion) ) { Link Here
9773
    SetVersion ($DBversion);
9773
    SetVersion ($DBversion);
9774
}
9774
}
9775
9775
9776
$DBversion = "3.19.00.XXX";
9777
if ( CheckVersion($DBversion) ) {
9778
    $dbh->do(q{
9779
        UPDATE systempreferences SET type='multiple' WHERE variable='AutoEmailPrimaryAddress'
9780
    });
9781
    print "Upgrade to $DBversion done (Bug 12802: AutoEmailPrimaryAddress is now multiple\n";
9782
    SetVersion ($DBversion);
9783
}
9784
9776
=head1 FUNCTIONS
9785
=head1 FUNCTIONS
9777
9786
9778
=head2 TableExists($table)
9787
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-2 / +1 lines)
Lines 17-23 Patrons: Link Here
17
         - "Use"
17
         - "Use"
18
         - pref: AutoEmailPrimaryAddress
18
         - pref: AutoEmailPrimaryAddress
19
           default: "OFF"
19
           default: "OFF"
20
           choices:
20
           multiple:
21
               email: home
21
               email: home
22
               emailpro: work
22
               emailpro: work
23
               B_email: alternate
23
               B_email: alternate
24
- 

Return to bug 12802