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

(-)a/C4/UsageStats.pm (-1 / +1 lines)
Lines 298-304 sub BuildReport { Link Here
298
        QueryWeightFields
298
        QueryWeightFields
299
        TraceCompleteSubfields
299
        TraceCompleteSubfields
300
        TraceSubjectSubdivisions
300
        TraceSubjectSubdivisions
301
        UseICU
301
        UseICUStyleQuotes
302
        defaultSortField
302
        defaultSortField
303
        displayFacetCount
303
        displayFacetCount
304
        OPACdefaultSortField
304
        OPACdefaultSortField
(-)a/C4/XSLT.pm (-1 / +1 lines)
Lines 164-170 sub get_xslt_sysprefs { Link Here
164
    my $sysxml = "<sysprefs>\n";
164
    my $sysxml = "<sysprefs>\n";
165
    foreach my $syspref ( qw/ hidelostitems OPACURLOpenInNewWindow
165
    foreach my $syspref ( qw/ hidelostitems OPACURLOpenInNewWindow
166
                              DisplayOPACiconsXSLT URLLinkText viewISBD
166
                              DisplayOPACiconsXSLT URLLinkText viewISBD
167
                              OPACBaseURL TraceCompleteSubfields UseICU
167
                              OPACBaseURL TraceCompleteSubfields UseICUStyleQuotes
168
                              UseAuthoritiesForTracings TraceSubjectSubdivisions
168
                              UseAuthoritiesForTracings TraceSubjectSubdivisions
169
                              Display856uAsImage OPACDisplay856uAsImage 
169
                              Display856uAsImage OPACDisplay856uAsImage 
170
                              UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
170
                              UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
(-)a/installer/data/mysql/atomicupdate/Bug_27581-rename-UseICU-to-UseICUStyleQuotes.perl (+5 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( "UPDATE systempreferences SET variable = 'UseICUStyleQUotes' WHERE variable = 'UseICU'" );
4
    NewVersion( $DBversion, 27581, "Rename UseICU to UseICUStyleQuotes");
5
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 707-713 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
707
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
707
('useDefaultReplacementCost', '0', NULL, 'default replacement cost defined in item type', 'YesNo'),
708
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
708
('useDischarge','','','Allows librarians to discharge borrowers and borrowers to request a discharge','YesNo'),
709
('UseEmailReceipts','0','','Send email receipts for payments and write-offs','YesNo'),
709
('UseEmailReceipts','0','','Send email receipts for payments and write-offs','YesNo'),
710
('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'),
710
('UseICUStyleQuotes','0','1','Tell Koha whether to use ICU style quotes ({) or default (") when tracing subjects .','YesNo'),
711
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
711
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
712
('UseWYSIWYGinSystemPreferences','0','','Show WYSIWYG editor when editing certain HTML system preferences.','YesNo'),
712
('UseWYSIWYGinSystemPreferences','0','','Show WYSIWYG editor when editing certain HTML system preferences.','YesNo'),
713
('viewISBD','1','','Allow display of ISBD view of bibiographic records','YesNo'),
713
('viewISBD','1','','Allow display of ISBD view of bibiographic records','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (-4 / +4 lines)
Lines 59-70 Searching: Link Here
59
                  no: "Don't include"
59
                  no: "Don't include"
60
            - subdivisions for searches generated by clicking on subject tracings.
60
            - subdivisions for searches generated by clicking on subject tracings.
61
        -
61
        -
62
            - pref: UseICU
62
            - pref: UseICUStyleQuotes
63
              default: 0
63
              default: 0
64
              choices:
64
              choices:
65
                  yes: Using
65
                  yes: Use
66
                  no: "Not using"
66
                  no: "Don't use"
67
            - 'ICU Zebra indexing. Please note: This setting will not affect Zebra indexing, it should only be used to tell Koha that you have activated ICU indexing if you have actually done so, since there is no way for Koha to figure this out on its own.'
67
            - 'ICU style quotes ({}) when tracing subjects. The default is to use standard quotes ("").'
68
        -
68
        -
69
            - pref: IncludeSeeFromInSearches
69
            - pref: IncludeSeeFromInSearches
70
              default: 0
70
              default: 0
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +2 lines)
Lines 30-42 Link Here
30
        <xsl:variable name="OpacSuppression" select="marc:sysprefs/marc:syspref[@name='OpacSuppression']"/>
30
        <xsl:variable name="OpacSuppression" select="marc:sysprefs/marc:syspref[@name='OpacSuppression']"/>
31
        <xsl:variable name="TracingQuotesLeft">
31
        <xsl:variable name="TracingQuotesLeft">
32
           <xsl:choose>
32
           <xsl:choose>
33
             <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
33
             <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">{</xsl:when>
34
             <xsl:otherwise>"</xsl:otherwise>
34
             <xsl:otherwise>"</xsl:otherwise>
35
           </xsl:choose>
35
           </xsl:choose>
36
        </xsl:variable>
36
        </xsl:variable>
37
        <xsl:variable name="TracingQuotesRight">
37
        <xsl:variable name="TracingQuotesRight">
38
          <xsl:choose>
38
          <xsl:choose>
39
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">}</xsl:when>
39
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">}</xsl:when>
40
            <xsl:otherwise>"</xsl:otherwise>
40
            <xsl:otherwise>"</xsl:otherwise>
41
          </xsl:choose>
41
          </xsl:choose>
42
        </xsl:variable>
42
        </xsl:variable>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl (-2 / +2 lines)
Lines 25-37 Link Here
25
        <xsl:variable name="OpacSuppression" select="marc:sysprefs/marc:syspref[@name='OpacSuppression']"/>
25
        <xsl:variable name="OpacSuppression" select="marc:sysprefs/marc:syspref[@name='OpacSuppression']"/>
26
        <xsl:variable name="TracingQuotesLeft">
26
        <xsl:variable name="TracingQuotesLeft">
27
          <xsl:choose>
27
          <xsl:choose>
28
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
28
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">{</xsl:when>
29
            <xsl:otherwise>"</xsl:otherwise>
29
            <xsl:otherwise>"</xsl:otherwise>
30
          </xsl:choose>
30
          </xsl:choose>
31
        </xsl:variable>
31
        </xsl:variable>
32
        <xsl:variable name="TracingQuotesRight">
32
        <xsl:variable name="TracingQuotesRight">
33
          <xsl:choose>
33
          <xsl:choose>
34
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">}</xsl:when>
34
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">}</xsl:when>
35
            <xsl:otherwise>"</xsl:otherwise>
35
            <xsl:otherwise>"</xsl:otherwise>
36
          </xsl:choose>
36
          </xsl:choose>
37
        </xsl:variable>
37
        </xsl:variable>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-2 / +2 lines)
Lines 33-45 Link Here
33
    <xsl:variable name="biblionumber" select="marc:datafield[@tag=999]/marc:subfield[@code='c']"/>
33
    <xsl:variable name="biblionumber" select="marc:datafield[@tag=999]/marc:subfield[@code='c']"/>
34
    <xsl:variable name="TracingQuotesLeft">
34
    <xsl:variable name="TracingQuotesLeft">
35
      <xsl:choose>
35
      <xsl:choose>
36
        <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
36
        <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">{</xsl:when>
37
        <xsl:otherwise>"</xsl:otherwise>
37
        <xsl:otherwise>"</xsl:otherwise>
38
      </xsl:choose>
38
      </xsl:choose>
39
    </xsl:variable>
39
    </xsl:variable>
40
    <xsl:variable name="TracingQuotesRight">
40
    <xsl:variable name="TracingQuotesRight">
41
      <xsl:choose>
41
      <xsl:choose>
42
        <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">}</xsl:when>
42
        <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">}</xsl:when>
43
        <xsl:otherwise>"</xsl:otherwise>
43
        <xsl:otherwise>"</xsl:otherwise>
44
      </xsl:choose>
44
      </xsl:choose>
45
    </xsl:variable>
45
    </xsl:variable>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl (-3 / +2 lines)
Lines 23-35 Link Here
23
        <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
23
        <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
24
        <xsl:variable name="TracingQuotesLeft">
24
        <xsl:variable name="TracingQuotesLeft">
25
          <xsl:choose>
25
          <xsl:choose>
26
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
26
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">{</xsl:when>
27
            <xsl:otherwise>"</xsl:otherwise>
27
            <xsl:otherwise>"</xsl:otherwise>
28
          </xsl:choose>
28
          </xsl:choose>
29
        </xsl:variable>
29
        </xsl:variable>
30
        <xsl:variable name="TracingQuotesRight">
30
        <xsl:variable name="TracingQuotesRight">
31
          <xsl:choose>
31
          <xsl:choose>
32
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">}</xsl:when>
32
            <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICUStyleQuotes']='1'">}</xsl:when>
33
            <xsl:otherwise>"</xsl:otherwise>
33
            <xsl:otherwise>"</xsl:otherwise>
34
          </xsl:choose>
34
          </xsl:choose>
35
        </xsl:variable>
35
        </xsl:variable>
36
- 

Return to bug 27581