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 399-401 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
399
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('SeparateHoldingsBranch', 'homebranch', 'Branch used to separate holdings', 'homebranch|holdingbranch', 'Choice');
399
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('SeparateHoldingsBranch', 'homebranch', 'Branch used to separate holdings', 'homebranch|holdingbranch', 'Choice');
400
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacSeparateHoldings', '0', 'Separate current branch holdings from other holdings (OPAC)', NULL, 'YesNo');
400
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacSeparateHoldings', '0', 'Separate current branch holdings from other holdings (OPAC)', NULL, 'YesNo');
401
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacSeparateHoldingsBranch', 'homebranch', 'Branch used to separate holdings (OPAC)', 'homebranch|holdingbranch', 'Choice');
401
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacSeparateHoldingsBranch', 'homebranch', 'Branch used to separate holdings (OPAC)', 'homebranch|holdingbranch', 'Choice');
402
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 6298-6303 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
6298
    SetVersion ($DBversion);
6298
    SetVersion ($DBversion);
6299
}
6299
}
6300
6300
6301
$DBversion = "3.11.00.XXX";
6302
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
6303
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('UNIMARCAuthorsFacetsSeparator',', ', 'UNIMARC authors facets separator', NULL, 'short')");
6304
6305
    print "Upgrade to $DBversion done (Bug 9341: Problem with UNIMARC authors facets) \n";
6306
    SetVersion ($DBversion);
6307
}
6308
6301
6309
6302
=head1 FUNCTIONS
6310
=head1 FUNCTIONS
6303
6311
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-1 / +5 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
167

Return to bug 9341