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 (-4 / +9 lines)
Lines 8613-8622 if ( CheckVersion($DBversion) ) { Link Here
8613
    SetVersion($DBversion);
8613
    SetVersion($DBversion);
8614
}
8614
}
8615
8615
8616
8617
8618
8619
8620
$DBversion = "3.17.00.XXX";
8616
$DBversion = "3.17.00.XXX";
8621
if ( CheckVersion($DBversion) ) {
8617
if ( CheckVersion($DBversion) ) {
8622
    $dbh->do(q{
8618
    $dbh->do(q{
Lines 8630-8635 if ( CheckVersion($DBversion) ) { Link Here
8630
   SetVersion ($DBversion);
8626
   SetVersion ($DBversion);
8631
}
8627
}
8632
8628
8629
$DBversion = "3.17.00.XXX";
8630
if ( CheckVersion($DBversion) ) {
8631
    $dbh->do(q{
8632
        UPDATE systempreferences SET type='multiple' WHERE variable='AutoEmailPrimaryAddress'
8633
    });
8634
    print "Upgrade to $DBversion done (Bug 12802: AutoEmailPrimaryAddress is now multiple\n";
8635
    SetVersion ($DBversion);
8636
}
8637
8633
=head1 FUNCTIONS
8638
=head1 FUNCTIONS
8634
8639
8635
=head2 TableExists($table)
8640
=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