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

(-)a/C4/Breeding.pm (+2 lines)
Lines 620-625 sub Z3950SearchAuth { Link Here
620
                            my $heading;
620
                            my $heading;
621
                            my $heading_authtype_code;
621
                            my $heading_authtype_code;
622
                            $heading_authtype_code = GuessAuthTypeCode($marcrecord);
622
                            $heading_authtype_code = GuessAuthTypeCode($marcrecord);
623
                            next if ( not defined $heading_authtype_code );
624
623
                            $heading = C4::AuthoritiesMarc::GetAuthorizedHeading({ record => $marcrecord });
625
                            $heading = C4::AuthoritiesMarc::GetAuthorizedHeading({ record => $marcrecord });
624
626
625
                            my $breedingid = ImportBreedingAuth( $marcrecord, $serverhost[$k], $encoding[$k], $heading );
627
                            my $breedingid = ImportBreedingAuth( $marcrecord, $serverhost[$k], $encoding[$k], $heading );
(-)a/installer/data/mysql/atomicupdate/bug_28166-add_AdditionalFieldsInZ3950ResultAuthSearch_syspref.sql (-1 lines)
Lines 2-7 $DBversion = 'XXX'; # will be replaced by the RM Link Here
2
if( CheckVersion( $DBversion ) ) {
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( "INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('AdditionalFieldsInZ3950ResultAuthSearch', '', 'NULL', 'Determines which MARC field/subfields are displayed in -Additional field- column in the result of an auth search Z3950', 'Free')" );
3
    $dbh->do( "INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('AdditionalFieldsInZ3950ResultAuthSearch', '', 'NULL', 'Determines which MARC field/subfields are displayed in -Additional field- column in the result of an auth search Z3950', 'Free')" );
4
4
5
    # Always end with this (adjust the bug info)
6
    NewVersion( $DBversion, XXXXX, "Description");
5
    NewVersion( $DBversion, XXXXX, "Description");
7
}
6
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-33 / +41 lines)
Lines 9-39 Cataloging: Link Here
9
        -
9
        -
10
            - pref: advancedMARCeditor
10
            - pref: advancedMARCeditor
11
              choices:
11
              choices:
12
                  yes: "Don't display"
12
                  1: "Don't display"
13
                  no: Display
13
                  0: Display
14
            - descriptions of fields and subfields in the MARC editor.
14
            - descriptions of fields and subfields in the MARC editor.
15
        -
15
        -
16
            - pref: EasyAnalyticalRecords
16
            - pref: EasyAnalyticalRecords
17
              choices:
17
              choices:
18
                  yes: Display
18
                  1: Display
19
                  no: "Don't display"
19
                  0: "Don't display"
20
            - "easy ways to create analytical record relationships."
20
            - "easy ways to create analytical record relationships."
21
        -
21
        -
22
            - pref: EnableAdvancedCatalogingEditor
22
            - pref: EnableAdvancedCatalogingEditor
23
              default: 0
23
              default: 0
24
              choices:
24
              choices:
25
                  yes: Enable
25
                  1: Enable
26
                  no: "Don't enable"
26
                  0: "Don't enable"
27
            - the advanced cataloging editor.
27
            - the advanced cataloging editor.
28
            - "<br/> <strong>NOTE:</strong>"
28
            - "<br/> <strong>NOTE:</strong>"
29
            - Currently does not include support for UNIMARC or NORMARC fixed fields.
29
            - Currently does not include support for UNIMARC or NORMARC fixed fields.
30
        -
31
            - "When saving in a MARC/MARCXML file in the advanced cataloging editor or exporting from the detail page in the staff interface, use the"
32
            - pref: DefaultSaveRecordFileID
33
              default: biblionumber
34
              choices:
35
                  controlnumber: "control number"
36
                  biblionumber: "bibliographic record number"
37
            - "in the file name."
30
    Spine labels:
38
    Spine labels:
31
        -
39
        -
32
            - When using the quick spine label printer,
40
            - When using the quick spine label printer,
33
            - pref: SpineLabelAutoPrint
41
            - pref: SpineLabelAutoPrint
34
              choices:
42
              choices:
35
                  yes: do
43
                  1: do
36
                  no: "don't"
44
                  0: "don't"
37
            - automatically pop up a print dialog.
45
            - automatically pop up a print dialog.
38
        -
46
        -
39
            - "Include the following fields on a quick-printed spine label:"
47
            - "Include the following fields on a quick-printed spine label:"
Lines 43-50 Cataloging: Link Here
43
        -
51
        -
44
            - pref: SpineLabelShowPrintOnBibDetails
52
            - pref: SpineLabelShowPrintOnBibDetails
45
              choices:
53
              choices:
46
                  yes: Display
54
                  1: Display
47
                  no:  "Don't display"
55
                  0:  "Don't display"
48
            - buttons on the bibliographic details page to print item spine labels.
56
            - buttons on the bibliographic details page to print item spine labels.
49
        -
57
        -
50
    Record structure:
58
    Record structure:
Lines 55-61 Cataloging: Link Here
55
        -
63
        -
56
            - "Fill in the default country code for field 008 Range 15-17 of MARC21 - Place of publication, production, or execution. (See <a href='http://www.loc.gov/marc/countries/countries_code.html'>MARC Code List for Countries</a>):"
64
            - "Fill in the default country code for field 008 Range 15-17 of MARC21 - Place of publication, production, or execution. (See <a href='http://www.loc.gov/marc/countries/countries_code.html'>MARC Code List for Countries</a>):"
57
            - pref: DefaultCountryField008
65
            - pref: DefaultCountryField008
58
            - " Empty defaults to xxu for United States."
66
            - " Empty defaults to ||| - No attempt to code."
59
        -
67
        -
60
            - Interpret and store MARC records in the
68
            - Interpret and store MARC records in the
61
            - pref: marcflavour
69
            - pref: marcflavour
Lines 68-75 Cataloging: Link Here
68
            - Use the item type of the
76
            - Use the item type of the
69
            - pref: item-level_itypes
77
            - pref: item-level_itypes
70
              choices:
78
              choices:
71
                  yes: specific item
79
                  1: specific item
72
                  no: bibliographic record
80
                  0: bibliographic record
73
            - as the authoritative item type (for determining circulation and fines rules, for displaying an item type icon on either opac detail or results page, etc).
81
            - as the authoritative item type (for determining circulation and fines rules, for displaying an item type icon on either opac detail or results page, etc).
74
        -
82
        -
75
            - Map the MARC subfields
83
            - Map the MARC subfields
Lines 94-101 Cataloging: Link Here
94
        -
102
        -
95
            - pref: z3950NormalizeAuthor
103
            - pref: z3950NormalizeAuthor
96
              choices:
104
              choices:
97
                  yes: Copy
105
                  1: Copy
98
                  no: "Don't copy"
106
                  0: "Don't copy"
99
            - authors from the UNIMARC
107
            - authors from the UNIMARC
100
            - pref: z3950AuthorAuthFields
108
            - pref: z3950AuthorAuthFields
101
              class: multi
109
              class: multi
Lines 113-120 Cataloging: Link Here
113
            - When a new item is added,
121
            - When a new item is added,
114
            - pref: PrefillItem
122
            - pref: PrefillItem
115
              choices:
123
              choices:
116
                  yes: the new item is prefilled with last created item values.
124
                  1: the new item is prefilled with last created item values.
117
                  no: the new item is not prefilled with last created item values.
125
                  0: the new item is not prefilled with last created item values.
118
        -
126
        -
119
            - "Define a list of subfields to use when prefilling items (separated by space):"
127
            - "Define a list of subfields to use when prefilling items (separated by space):"
120
            - pref: SubfieldsToUseWhenPrefill
128
            - pref: SubfieldsToUseWhenPrefill
Lines 163-170 Cataloging: Link Here
163
        -
171
        -
164
            - pref: UseControlNumber
172
            - pref: UseControlNumber
165
              choices:
173
              choices:
166
                  yes: Use
174
                  1: Use
167
                  no: "Don't use"
175
                  0: "Don't use"
168
            - record control number ($w subfields) and control number (001) for linking of bibliographic records.
176
            - record control number ($w subfields) and control number (001) for linking of bibliographic records.
169
        -
177
        -
170
            - Use
178
            - Use
Lines 177-184 Cataloging: Link Here
177
        -
185
        -
178
            - pref: hide_marc
186
            - pref: hide_marc
179
              choices:
187
              choices:
180
                  yes: "Don't display"
188
                  1: "Don't display"
181
                  no: Display
189
                  0: Display
182
            - MARC tag numbers, subfield codes and indicators in MARC views.
190
            - MARC tag numbers, subfield codes and indicators in MARC views.
183
        -
191
        -
184
            - pref: LabelMARCView
192
            - pref: LabelMARCView
Lines 203-210 Cataloging: Link Here
203
        -
211
        -
204
            - pref: OpacSuppression
212
            - pref: OpacSuppression
205
              choices:
213
              choices:
206
                  yes: Hide
214
                  1: Hide
207
                  no: "Don't hide"
215
                  0: "Don't hide"
208
            - bibliographic records marked as suppressed from OPAC search results.
216
            - bibliographic records marked as suppressed from OPAC search results.
209
            - <br />Restrict the suppression to IP addresses outside of the IP range
217
            - <br />Restrict the suppression to IP addresses outside of the IP range
210
            - pref: OpacSuppressionByIPRange
218
            - pref: OpacSuppressionByIPRange
Lines 213-220 Cataloging: Link Here
213
            - <br />Redirect the opac detail page for suppressed records to
221
            - <br />Redirect the opac detail page for suppressed records to
214
            - pref: OpacSuppressionRedirect
222
            - pref: OpacSuppressionRedirect
215
              choices:
223
              choices:
216
                  yes: "an explanatory page ('This record is blocked')."
224
                  1: "an explanatory page ('This record is blocked')."
217
                  no: "the 404 error page ('Not found')."
225
                  0: "the 404 error page ('Not found')."
218
            - "<br />Display the following message on the redirect page for suppressed bibliographic records:"
226
            - "<br />Display the following message on the redirect page for suppressed bibliographic records:"
219
            - pref: OpacSuppressionMessage
227
            - pref: OpacSuppressionMessage
220
              type: textarea
228
              type: textarea
Lines 222-229 Cataloging: Link Here
222
        -
230
        -
223
            - pref: SeparateHoldings
231
            - pref: SeparateHoldings
224
              choices:
232
              choices:
225
                  yes: Separate
233
                  1: Separate
226
                  no: "Don't separate"
234
                  0: "Don't separate"
227
            - "items display into two tabs, where the first tab contains items whose"
235
            - "items display into two tabs, where the first tab contains items whose"
228
            - pref: SeparateHoldingsBranch
236
            - pref: SeparateHoldingsBranch
229
              choices:
237
              choices:
Lines 240-247 Cataloging: Link Here
240
        -
248
        -
241
            - pref: AcquisitionDetails
249
            - pref: AcquisitionDetails
242
              choices:
250
              choices:
243
                  yes: Display
251
                  1: Display
244
                  no: "Don't display"
252
                  0: "Don't display"
245
            - acquisition details on the bibliographic record detail page.
253
            - acquisition details on the bibliographic record detail page.
246
        -
254
        -
247
            - "Show the following fields for deleted records after a merge:"
255
            - "Show the following fields for deleted records after a merge:"
Lines 257-264 Cataloging: Link Here
257
            - When matching on ISBN with the record import tool,
265
            - When matching on ISBN with the record import tool,
258
            - pref: AggressiveMatchOnISBN
266
            - pref: AggressiveMatchOnISBN
259
              choices:
267
              choices:
260
                  yes: "do"
268
                  1: "do"
261
                  no: "don't"
269
                  0: "don't"
262
            - attempt to match aggressively by trying all variations of the ISBNs in the imported record as a phrase in the ISBN fields of already cataloged records.
270
            - attempt to match aggressively by trying all variations of the ISBNs in the imported record as a phrase in the ISBN fields of already cataloged records.
263
        -
271
        -
264
            - Display the MARC field/subfields
272
            - Display the MARC field/subfields
Lines 272-279 Cataloging: Link Here
272
            - When matching on ISSN with the record import tool,
280
            - When matching on ISSN with the record import tool,
273
            - pref: AggressiveMatchOnISSN
281
            - pref: AggressiveMatchOnISSN
274
              choices:
282
              choices:
275
                  yes: "do"
283
                  1: "do"
276
                  no: "don't"
284
                  0: "don't"
277
            - attempt to match aggressively by trying all variations of the ISSNs in the imported record as a phrase in the ISSN fields of already cataloged records.
285
            - attempt to match aggressively by trying all variations of the ISSNs in the imported record as a phrase in the ISSN fields of already cataloged records.
278
286
279
    Exporting:
287
    Exporting:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-2 / +1 lines)
Lines 83-89 Link Here
83
        [% IF Koha.Preference('AdditionalFieldsInZ3950ResultAuthSearch') != '' %]
83
        [% IF Koha.Preference('AdditionalFieldsInZ3950ResultAuthSearch') != '' %]
84
            <th>Additional fields</th>
84
            <th>Additional fields</th>
85
        [% END %]
85
        [% END %]
86
        <th>Actions</th>
86
        <th class="noExport">Actions</th>
87
    </tr></thead>
87
    </tr></thead>
88
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
88
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
89
        [% IF ( breeding_loo.breedingid ) %]
89
        [% IF ( breeding_loo.breedingid ) %]
90
- 

Return to bug 28166