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

(-)a/about.pl (+6 lines)
Lines 84-95 if ( ! defined C4::Context->config('zebra_bib_index_mode') ) { Link Here
84
    push @xml_config_warnings, {
84
    push @xml_config_warnings, {
85
        error => 'zebra_bib_index_mode_warn'
85
        error => 'zebra_bib_index_mode_warn'
86
    };
86
    };
87
} else {
88
    push @xml_config_warnings, { error => 'zebra_bib_grs_warn' }
89
        if C4::Context->config('zebra_bib_index_mode') eq 'grs1';
87
}
90
}
88
91
89
if ( ! defined C4::Context->config('zebra_auth_index_mode') ) {
92
if ( ! defined C4::Context->config('zebra_auth_index_mode') ) {
90
    push @xml_config_warnings, {
93
    push @xml_config_warnings, {
91
        error => 'zebra_auth_index_mode_warn'
94
        error => 'zebra_auth_index_mode_warn'
92
    };
95
    };
96
} else {
97
    push @xml_config_warnings, { error => 'zebra_auth_grs_warn' }
98
        if C4::Context->config('zebra_auth_index_mode') eq 'grs1';
93
}
99
}
94
100
95
# Test QueryParser configuration sanity
101
# Test QueryParser configuration sanity
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +32 lines)
Lines 145-153 Link Here
145
                <caption>XML configuration file</caption>
145
                <caption>XML configuration file</caption>
146
            [% FOREACH config_entry IN xml_config_warnings %]
146
            [% FOREACH config_entry IN xml_config_warnings %]
147
                [% IF config_entry.error == 'zebra_bib_index_mode_warn' %]
147
                [% IF config_entry.error == 'zebra_bib_index_mode_warn' %]
148
                <tr><th scope="row"><b>Warning</b> </th><td>The &lt;zebra_bib_index_mode&gt; entry is missing in your configuration file. It should be set to <strong>dom</strong> or <strong>grs1</strong>. It will default to <strong>grs1</strong> but this could change in the future.</td></tr>
148
                <tr>
149
                    <th scope="row"><b>Warning</b></th>
150
                    <td>The &lt;zebra_bib_index_mode&gt; entry is missing in your configuration file.
151
                        It should be set to <strong>dom</strong> or <strong>grs1</strong> (deprecated).
152
                        It will default to <strong>dom</strong>.
153
                    </td>
154
                </tr>
149
                [% ELSIF config_entry.error == 'zebra_auth_index_mode_warn' %]
155
                [% ELSIF config_entry.error == 'zebra_auth_index_mode_warn' %]
150
                <tr><th scope="row"><b>Warning</b> </th><td>The &lt;zebra_auth_index_mode&gt; entry is missing in your configuration file. It should be set to <strong>dom</strong> or <strong>grs1</strong>. It will default to <strong>dom</strong> but this could change in the future.</td></tr>
156
                <tr>
157
                    <th scope="row"><b>Warning</b></th>
158
                    <td>The &lt;zebra_auth_index_mode&gt; entry is missing in your configuration file.
159
                        It should be set to <strong>dom</strong> or <strong>grs1</strong> (deprecated).
160
                        It will default to <strong>dom</strong>.
161
                    </td>
162
                </tr>
163
                [% ELSIF config_entry.error == 'zebra_bib_grs_warn' %]
164
                <tr>
165
                    <th scope="row"><b>Warning</b></th>
166
                    <td>The &lt;zebra_bib_index_mode&gt; entry is set to <strong>grs1</strong>.
167
                        GRS-1 support is now deprecated and will be removed in future releases.
168
                        Please use DOM instead by setting &lt;zebra_bib_index_mode&gt; to
169
                        <strong>dom</strong> (full reindex required).
170
                    </td>
171
                </tr>
172
                [% ELSIF config_entry.error == 'zebra_auth_grs_warn' %]
173
                <tr>
174
                    <th scope="row"><b>Warning</b></th>
175
                    <td>The &lt;zebra_auth_index_mode&gt; entry is set to <strong>grs1</strong>.
176
                        GRS-1 support is now deprecated and will be removed in future releases.
177
                        Please use DOM instead by setting &lt;zebra_auth_index_mode&gt; to
178
                        <strong>dom</strong> (full reindex required).
179
                    </td>
180
                </tr>
151
                [% ELSIF config_entry.error == 'queryparser_entry_missing' %]
181
                [% ELSIF config_entry.error == 'queryparser_entry_missing' %]
152
                <tr>
182
                <tr>
153
                    <th scope="row"><b>Warning</b></th>
183
                    <th scope="row"><b>Warning</b></th>
154
- 

Return to bug 13140