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

(-)a/admin/preferences.pl (+4 lines)
Lines 29-34 use C4::Log; Link Here
29
use C4::Output;
29
use C4::Output;
30
use C4::Templates;
30
use C4::Templates;
31
use Koha::Acquisition::Currencies;
31
use Koha::Acquisition::Currencies;
32
use Koha::MarcModificationTemplates;
32
use File::Spec;
33
use File::Spec;
33
use IO::File;
34
use IO::File;
34
use YAML::XS;
35
use YAML::XS;
Lines 103-108 sub _get_chunk { Link Here
103
            } elsif ( $options{choices} eq 'patron-categories' ) {
104
            } elsif ( $options{choices} eq 'patron-categories' ) {
104
                $options{choices} = { map { $_->categorycode => $_->description } Koha::Patron::Categories->search };
105
                $options{choices} = { map { $_->categorycode => $_->description } Koha::Patron::Categories->search };
105
                $add_blank = 1;
106
                $add_blank = 1;
107
            } elsif ( $options{choices} eq 'modification-templates' ) {
108
                $options{choices} = { map { $_->template_id => $_->name } Koha::MarcModificationTemplates->search };
109
                $add_blank = 1;
106
            } else {
110
            } else {
107
                die 'Unrecognized source of preference values: ' . $options{'choices'};
111
                die 'Unrecognized source of preference values: ' . $options{'choices'};
108
            }
112
            }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-1 / +1 lines)
Lines 162-167 Cataloging: Link Here
162
            - Apply the MARC modification template with name
162
            - Apply the MARC modification template with name
163
            - pref: SaveBiblioMarcModificationTemplate
163
            - pref: SaveBiblioMarcModificationTemplate
164
              class: short
164
              class: short
165
              choices: modification-templates
165
            - on records saved using the staff client simple MARC editor, advanced editor or HTTP API.
166
            - on records saved using the staff client simple MARC editor, advanced editor or HTTP API.
166
    Display:
167
    Display:
167
        -
168
        -
168
- 

Return to bug 18138