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

(-)a/C4/Koha.pm (-1 / +1 lines)
Lines 708-714 sub getFacets { Link Here
708
                idx   => 'au',
708
                idx   => 'au',
709
                label => 'Authors',
709
                label => 'Authors',
710
                tags  => [ qw/ 700ab 701ab 702ab / ],
710
                tags  => [ qw/ 700ab 701ab 702ab / ],
711
                sep   => ', ',
711
                sep   => C4::Context->preference("UNIMARCAuthorsFacetsSeparator"),
712
            },
712
            },
713
            {
713
            {
714
                idx   => 'se',
714
                idx   => 'se',
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 421-423 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES( Link Here
421
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('PatronSelfRegistrationAdditionalInstructions','','A free text field to display additional instructions to newly self registered patrons.','','free');
421
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('PatronSelfRegistrationAdditionalInstructions','','A free text field to display additional instructions to newly self registered patrons.','','free');
422
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('UseQueryParser', '0', 'If enabled, try to use QueryParser for queries.', NULL, 'YesNo');
422
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('UseQueryParser', '0', 'If enabled, try to use QueryParser for queries.', NULL, 'YesNo');
423
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('FinesIncludeGracePeriod','1','If enabled, fines calculations will include the grace period.',NULL,'YesNo');
423
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('FinesIncludeGracePeriod','1','If enabled, fines calculations will include the grace period.',NULL,'YesNo');
424
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('UNIMARCAuthorsFacetsSeparator',', ', 'UNIMARC authors facets separator', NULL, 'short');
(-)a/installer/data/mysql/updatedatabase.pl (+6 lines)
Lines 6531-6536 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
6531
    print "Upgrade to $DBversion done (3.12-alpha release)\n";
6531
    print "Upgrade to $DBversion done (3.12-alpha release)\n";
6532
    SetVersion ($DBversion);
6532
    SetVersion ($DBversion);
6533
}
6533
}
6534
$DBversion = "3.11.00.XXX";
6535
if ( CheckVersion($DBversion) ) {
6536
   $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('UNIMARCAuthorsFacetsSeparator',', ', 'UNIMARC authors facets separator', NULL, 'short')");
6537
   print "Upgrade to $DBversion done (Bug 9341: Problem with UNIMARC authors facets)\n";
6538
   SetVersion ($DBversion);
6539
}
6534
6540
6535
=head1 FUNCTIONS
6541
=head1 FUNCTIONS
6536
6542
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-1 / +4 lines)
Lines 183-185 Searching: Link Here
183
            - pref: FacetLabelTruncationLength
183
            - pref: FacetLabelTruncationLength
184
              class: integer
184
              class: integer
185
            - characters, in OPAC/staff interface.
185
            - characters, in OPAC/staff interface.
186
- 
186
        -
187
            - Use the following text as separator for UNIMARC authors facets
188
            - pref: UNIMARCAuthorsFacetsSeparator
189
              class: short

Return to bug 9341