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

(-)a/C4/Koha.pm (-1 / +1 lines)
Lines 706-712 sub getFacets { Link Here
706
                idx   => 'au',
706
                idx   => 'au',
707
                label => 'Authors',
707
                label => 'Authors',
708
                tags  => [ qw/ 700ab 701ab 702ab / ],
708
                tags  => [ qw/ 700ab 701ab 702ab / ],
709
                sep   => ', ',
709
                sep   => C4::Context->preference("UNIMARCAuthorsFacetsSeparator"),
710
            },
710
            },
711
            {
711
            {
712
                idx   => 'se',
712
                idx   => 'se',
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 406-408 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
406
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('NotesBlacklist','','List of notes fields that should not appear in the title notes/description separator of details',NULL,'free');
406
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('NotesBlacklist','','List of notes fields that should not appear in the title notes/description separator of details',NULL,'free');
407
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('SCOUserCSS', '', NULL, 'Add CSS to be included in the SCO module in an embedded <style> tag.', 'free');
407
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('SCOUserCSS', '', NULL, 'Add CSS to be included in the SCO module in an embedded <style> tag.', 'free');
408
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('SCOUserJS', '', NULL, 'Define custom javascript for inclusion in the SCO module', 'free');
408
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('SCOUserJS', '', NULL, 'Define custom javascript for inclusion in the SCO module', 'free');
409
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('UNIMARCAuthorsFacetsSeparator',', ', 'UNIMARC authors facets separator', NULL, 'short');
(-)a/installer/data/mysql/updatedatabase.pl (+8 lines)
Lines 6339-6344 if ( CheckVersion($DBversion) ) { Link Here
6339
   SetVersion ($DBversion);
6339
   SetVersion ($DBversion);
6340
}
6340
}
6341
6341
6342
$DBversion = "3.11.00.XXX";
6343
if ( CheckVersion($DBversion) ) {
6344
   $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('UNIMARCAuthorsFacetsSeparator',', ', 'UNIMARC authors facets separator', NULL, 'short')");
6345
   print "Upgrade to $DBversion done (Bug 9341: Problem with UNIMARC authors facets)\n";
6346
   SetVersion ($DBversion);
6347
}
6348
6349
6342
=head1 FUNCTIONS
6350
=head1 FUNCTIONS
6343
6351
6344
=head2 TableExists($table)
6352
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-1 / +4 lines)
Lines 160-162 Searching: Link Here
160
            - pref: FacetLabelTruncationLength
160
            - pref: FacetLabelTruncationLength
161
              class: integer
161
              class: integer
162
            - characters, in OPAC/staff interface.
162
            - characters, in OPAC/staff interface.
163
- 
163
        -
164
            - Use the following text as separator for UNIMARC authors facets
165
            - pref: UNIMARCAuthorsFacetsSeparator
166
              class: short

Return to bug 9341