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

(-)a/installer/data/mysql/atomicupdate/bug_32034.pl (+20 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "32034",
6
    description => "Add library branch transfers to the action logs",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{
13
            INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type)
14
            VALUES ('TransfersLog', '0', 'If enabled, log item transfer changes', '', 'YesNo')
15
        }
16
        );
17
18
        say_success( $out, "Added new system preference 'TransfersLog'" );
19
    },
20
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +2 lines)
Lines 814-819 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
814
('TrackClicks','0',NULL,'Track links clicked','Integer'),
814
('TrackClicks','0',NULL,'Track links clicked','Integer'),
815
('TrackLastPatronActivityTriggers','',NULL,'If set, the field borrowers.lastseen will be updated everytime a patron performs a selected action','multiple'),
815
('TrackLastPatronActivityTriggers','',NULL,'If set, the field borrowers.lastseen will be updated everytime a patron performs a selected action','multiple'),
816
('TransfersBlockCirc','1',NULL,'Should the transfer modal block circulation staff from continuing scanning items','YesNo'),
816
('TransfersBlockCirc','1',NULL,'Should the transfer modal block circulation staff from continuing scanning items','YesNo'),
817
('TransfersLog','0',NULL,'If enabled, log item transfer changes','YesNo'),
817
('TransfersMaxDaysWarning','3',NULL,'Define the days before a transfer is suspected of having a problem','Integer'),
818
('TransfersMaxDaysWarning','3',NULL,'Define the days before a transfer is suspected of having a problem','Integer'),
818
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
819
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
819
('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'),
820
('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'),
Lines 878-881 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
878
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
879
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
879
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
880
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
880
('z3950Status','','','This syspref allows to define custom YAML based rules for marking items unavailable in z3950 results.','Textarea')
881
('z3950Status','','','This syspref allows to define custom YAML based rules for marking items unavailable in z3950 results.','Textarea')
881
;
882
;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/logs.pref (-1 / +6 lines)
Lines 120-125 Logging: Link Here
120
                  1: Log
120
                  1: Log
121
                  0: "Don't log"
121
                  0: "Don't log"
122
            - any changes to purchase suggestions (create, modify, delete).
122
            - any changes to purchase suggestions (create, modify, delete).
123
        -
124
            - pref: TransfersLog
125
              choices:
126
                  1: Log
127
                  0: "Don't log"
128
            - item transfers.
123
129
124
    Debugging:
130
    Debugging:
125
        -
131
        -
126
- 

Return to bug 32034