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

(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml (-1 / +41 lines)
Lines 53-63 Link Here
53
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
53
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
54
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
54
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
55
  </kohaidx:index_heading>
55
  </kohaidx:index_heading>
56
  <kohaidx:index_heading tag="100" subfields="a">
57
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
58
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
59
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
60
  </kohaidx:index_heading>
56
  <kohaidx:index_match_heading tag="100" subfields="abcdefghjklmnopqrstvxyz" subdivisions="vxyz">
61
  <kohaidx:index_match_heading tag="100" subfields="abcdefghjklmnopqrstvxyz" subdivisions="vxyz">
57
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
62
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
58
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
63
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
59
  </kohaidx:index_match_heading>
64
  </kohaidx:index_match_heading>
60
  
65
61
  <kohaidx:index_heading tag="400" subfields="abcdefghjklmnopqrstvxyz" subdivisions="vxyz">
66
  <kohaidx:index_heading tag="400" subfields="abcdefghjklmnopqrstvxyz" subdivisions="vxyz">
62
    <kohaidx:target_index>Personal-name-see-from:w</kohaidx:target_index>
67
    <kohaidx:target_index>Personal-name-see-from:w</kohaidx:target_index>
63
    <kohaidx:target_index>Personal-name-see-from:p</kohaidx:target_index>
68
    <kohaidx:target_index>Personal-name-see-from:p</kohaidx:target_index>
Lines 93-98 Link Here
93
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
98
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
94
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
99
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
95
  </kohaidx:index_heading>
100
  </kohaidx:index_heading>
101
  <kohaidx:index_heading tag="110" subfields="a">
102
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
103
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
104
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
105
  </kohaidx:index_heading>
96
  <kohaidx:index_match_heading tag="110" subfields="abcdefghklmnoprstvxyz" subdivisions="vxyz">
106
  <kohaidx:index_match_heading tag="110" subfields="abcdefghklmnoprstvxyz" subdivisions="vxyz">
97
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
107
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
98
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
108
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
Lines 133-138 Link Here
133
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
143
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
134
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
144
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
135
  </kohaidx:index_heading>
145
  </kohaidx:index_heading>
146
  <kohaidx:index_heading tag="111" subfields="a">
147
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
148
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
149
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
150
  </kohaidx:index_heading>
136
  <kohaidx:index_match_heading tag="111" subfields="acdefghjklnpqstvxyz" subdivisions="vxyz">
151
  <kohaidx:index_match_heading tag="111" subfields="acdefghjklnpqstvxyz" subdivisions="vxyz">
137
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
152
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
138
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
153
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
Lines 173-178 Link Here
173
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
188
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
174
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
189
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
175
  </kohaidx:index_heading>
190
  </kohaidx:index_heading>
191
  <kohaidx:index_heading tag="130" subfields="a">
192
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
193
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
194
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
195
  </kohaidx:index_heading>
176
  <kohaidx:index_match_heading tag="130" subfields="adfghklmnoprstvxyz" subdivisions="vxyz">
196
  <kohaidx:index_match_heading tag="130" subfields="adfghklmnoprstvxyz" subdivisions="vxyz">
177
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
197
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
178
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
198
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
Lines 213-218 Link Here
213
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
233
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
214
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
234
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
215
  </kohaidx:index_heading>
235
  </kohaidx:index_heading>
236
  <kohaidx:index_heading tag="148" subfields="a">
237
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
238
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
239
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
240
  </kohaidx:index_heading>
216
  <kohaidx:index_match_heading tag="148" subfields="avxyz" subdivisions="vxyz">
241
  <kohaidx:index_match_heading tag="148" subfields="avxyz" subdivisions="vxyz">
217
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
242
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
218
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
243
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
Lines 254-259 Link Here
254
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
279
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
255
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
280
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
256
  </kohaidx:index_heading>
281
  </kohaidx:index_heading>
282
  <kohaidx:index_heading tag="150" subfields="a">
283
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
284
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
285
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
286
  </kohaidx:index_heading>
257
  <kohaidx:index_match_heading tag="150" subfields="abvxyz" subdivisions="vxyz">
287
  <kohaidx:index_match_heading tag="150" subfields="abvxyz" subdivisions="vxyz">
258
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
288
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
259
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
289
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
Lines 294-299 Link Here
294
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
324
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
295
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
325
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
296
  </kohaidx:index_heading>
326
  </kohaidx:index_heading>
327
  <kohaidx:index_heading tag="151" subfields="a">
328
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
329
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
330
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
331
  </kohaidx:index_heading>
297
  <kohaidx:index_match_heading tag="151" subfields="avxyz" subdivisions="vxyz">
332
  <kohaidx:index_match_heading tag="151" subfields="avxyz" subdivisions="vxyz">
298
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
333
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
299
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
334
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
Lines 334-339 Link Here
334
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
369
    <kohaidx:target_index>Heading:p</kohaidx:target_index>
335
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
370
    <kohaidx:target_index>Heading:s</kohaidx:target_index>
336
  </kohaidx:index_heading>
371
  </kohaidx:index_heading>
372
  <kohaidx:index_heading tag="155" subfields="a">
373
    <kohaidx:target_index>Heading-Main:w</kohaidx:target_index>
374
    <kohaidx:target_index>Heading-Main:p</kohaidx:target_index>
375
    <kohaidx:target_index>Heading-Main:s</kohaidx:target_index>
376
  </kohaidx:index_heading>
337
  <kohaidx:index_match_heading tag="155" subfields="avxyz" subdivisions="vxyz">
377
  <kohaidx:index_match_heading tag="155" subfields="avxyz" subdivisions="vxyz">
338
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
378
    <kohaidx:target_index>Match-heading:p</kohaidx:target_index>
339
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
379
    <kohaidx:target_index>Match-heading:s</kohaidx:target_index>
(-)a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl (+165 lines)
Lines 161-166 Link Here
161
      </xslo:variable>
161
      </xslo:variable>
162
      <xslo:value-of select="normalize-space($raw_heading)"/>
162
      <xslo:value-of select="normalize-space($raw_heading)"/>
163
    </z:index>
163
    </z:index>
164
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
165
      <xslo:variable name="raw_heading">
166
        <xslo:for-each select="marc:subfield">
167
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
168
            <xslo:if test="position() &gt; 1">
169
              <xslo:choose>
170
                <xslo:when test="contains('', @code)">
171
                  <xslo:text>--</xslo:text>
172
                </xslo:when>
173
                <xslo:otherwise>
174
                  <xslo:value-of select="substring(' ', 1, 1)"/>
175
                </xslo:otherwise>
176
              </xslo:choose>
177
            </xslo:if>
178
            <xslo:value-of select="."/>
179
          </xslo:if>
180
        </xslo:for-each>
181
      </xslo:variable>
182
      <xslo:value-of select="normalize-space($raw_heading)"/>
183
    </z:index>
164
  </xslo:template>
184
  </xslo:template>
165
  <xslo:template mode="index_heading" match="marc:datafield[@tag='400']">
185
  <xslo:template mode="index_heading" match="marc:datafield[@tag='400']">
166
    <z:index name="Personal-name-see-from:w Personal-name-see-from:p Personal-name-see-from:s See-from:w See-from:p See-from:s">
186
    <z:index name="Personal-name-see-from:w Personal-name-see-from:p Personal-name-see-from:s See-from:w See-from:p See-from:s">
Lines 227-232 Link Here
227
      </xslo:variable>
247
      </xslo:variable>
228
      <xslo:value-of select="normalize-space($raw_heading)"/>
248
      <xslo:value-of select="normalize-space($raw_heading)"/>
229
    </z:index>
249
    </z:index>
250
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
251
      <xslo:variable name="raw_heading">
252
        <xslo:for-each select="marc:subfield">
253
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
254
            <xslo:if test="position() &gt; 1">
255
              <xslo:choose>
256
                <xslo:when test="contains('', @code)">
257
                  <xslo:text>--</xslo:text>
258
                </xslo:when>
259
                <xslo:otherwise>
260
                  <xslo:value-of select="substring(' ', 1, 1)"/>
261
                </xslo:otherwise>
262
              </xslo:choose>
263
            </xslo:if>
264
            <xslo:value-of select="."/>
265
          </xslo:if>
266
        </xslo:for-each>
267
      </xslo:variable>
268
      <xslo:value-of select="normalize-space($raw_heading)"/>
269
    </z:index>
230
  </xslo:template>
270
  </xslo:template>
231
  <xslo:template mode="index_heading" match="marc:datafield[@tag='410']">
271
  <xslo:template mode="index_heading" match="marc:datafield[@tag='410']">
232
    <z:index name="Corporate-name-see-from:w Corporate-name-see-from:p Corporate-name-see-from:s See-from:w See-from:p See-from:s">
272
    <z:index name="Corporate-name-see-from:w Corporate-name-see-from:p Corporate-name-see-from:s See-from:w See-from:p See-from:s">
Lines 293-298 Link Here
293
      </xslo:variable>
333
      </xslo:variable>
294
      <xslo:value-of select="normalize-space($raw_heading)"/>
334
      <xslo:value-of select="normalize-space($raw_heading)"/>
295
    </z:index>
335
    </z:index>
336
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
337
      <xslo:variable name="raw_heading">
338
        <xslo:for-each select="marc:subfield">
339
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
340
            <xslo:if test="position() &gt; 1">
341
              <xslo:choose>
342
                <xslo:when test="contains('', @code)">
343
                  <xslo:text>--</xslo:text>
344
                </xslo:when>
345
                <xslo:otherwise>
346
                  <xslo:value-of select="substring(' ', 1, 1)"/>
347
                </xslo:otherwise>
348
              </xslo:choose>
349
            </xslo:if>
350
            <xslo:value-of select="."/>
351
          </xslo:if>
352
        </xslo:for-each>
353
      </xslo:variable>
354
      <xslo:value-of select="normalize-space($raw_heading)"/>
355
    </z:index>
296
  </xslo:template>
356
  </xslo:template>
297
  <xslo:template mode="index_heading" match="marc:datafield[@tag='411']">
357
  <xslo:template mode="index_heading" match="marc:datafield[@tag='411']">
298
    <z:index name="Meeting-name-see-from:w Meeting-name-see-from:p Meeting-name-see-from:s See-from:w See-from:p See-from:s">
358
    <z:index name="Meeting-name-see-from:w Meeting-name-see-from:p Meeting-name-see-from:s See-from:w See-from:p See-from:s">
Lines 359-364 Link Here
359
      </xslo:variable>
419
      </xslo:variable>
360
      <xslo:value-of select="normalize-space($raw_heading)"/>
420
      <xslo:value-of select="normalize-space($raw_heading)"/>
361
    </z:index>
421
    </z:index>
422
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
423
      <xslo:variable name="raw_heading">
424
        <xslo:for-each select="marc:subfield">
425
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
426
            <xslo:if test="position() &gt; 1">
427
              <xslo:choose>
428
                <xslo:when test="contains('', @code)">
429
                  <xslo:text>--</xslo:text>
430
                </xslo:when>
431
                <xslo:otherwise>
432
                  <xslo:value-of select="substring(' ', 1, 1)"/>
433
                </xslo:otherwise>
434
              </xslo:choose>
435
            </xslo:if>
436
            <xslo:value-of select="."/>
437
          </xslo:if>
438
        </xslo:for-each>
439
      </xslo:variable>
440
      <xslo:value-of select="normalize-space($raw_heading)"/>
441
    </z:index>
362
  </xslo:template>
442
  </xslo:template>
363
  <xslo:template mode="index_heading" match="marc:datafield[@tag='430']">
443
  <xslo:template mode="index_heading" match="marc:datafield[@tag='430']">
364
    <z:index name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s">
444
    <z:index name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s">
Lines 425-430 Link Here
425
      </xslo:variable>
505
      </xslo:variable>
426
      <xslo:value-of select="normalize-space($raw_heading)"/>
506
      <xslo:value-of select="normalize-space($raw_heading)"/>
427
    </z:index>
507
    </z:index>
508
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
509
      <xslo:variable name="raw_heading">
510
        <xslo:for-each select="marc:subfield">
511
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
512
            <xslo:if test="position() &gt; 1">
513
              <xslo:choose>
514
                <xslo:when test="contains('', @code)">
515
                  <xslo:text>--</xslo:text>
516
                </xslo:when>
517
                <xslo:otherwise>
518
                  <xslo:value-of select="substring(' ', 1, 1)"/>
519
                </xslo:otherwise>
520
              </xslo:choose>
521
            </xslo:if>
522
            <xslo:value-of select="."/>
523
          </xslo:if>
524
        </xslo:for-each>
525
      </xslo:variable>
526
      <xslo:value-of select="normalize-space($raw_heading)"/>
527
    </z:index>
428
  </xslo:template>
528
  </xslo:template>
429
  <xslo:template mode="index_heading" match="marc:datafield[@tag='448']">
529
  <xslo:template mode="index_heading" match="marc:datafield[@tag='448']">
430
    <z:index name="Chronological-term-see-from:w Chronological-term-see-from:p Chronological-term-see-from:s See-from:w See-from:p See-from:s">
530
    <z:index name="Chronological-term-see-from:w Chronological-term-see-from:p Chronological-term-see-from:s See-from:w See-from:p See-from:s">
Lines 491-496 Link Here
491
      </xslo:variable>
591
      </xslo:variable>
492
      <xslo:value-of select="normalize-space($raw_heading)"/>
592
      <xslo:value-of select="normalize-space($raw_heading)"/>
493
    </z:index>
593
    </z:index>
594
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
595
      <xslo:variable name="raw_heading">
596
        <xslo:for-each select="marc:subfield">
597
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
598
            <xslo:if test="position() &gt; 1">
599
              <xslo:choose>
600
                <xslo:when test="contains('', @code)">
601
                  <xslo:text>--</xslo:text>
602
                </xslo:when>
603
                <xslo:otherwise>
604
                  <xslo:value-of select="substring(' ', 1, 1)"/>
605
                </xslo:otherwise>
606
              </xslo:choose>
607
            </xslo:if>
608
            <xslo:value-of select="."/>
609
          </xslo:if>
610
        </xslo:for-each>
611
      </xslo:variable>
612
      <xslo:value-of select="normalize-space($raw_heading)"/>
613
    </z:index>
494
  </xslo:template>
614
  </xslo:template>
495
  <xslo:template mode="index_heading" match="marc:datafield[@tag='450']">
615
  <xslo:template mode="index_heading" match="marc:datafield[@tag='450']">
496
    <z:index name="Subject-topical-see-from:w Subject-topical-see-from:p Subject-topical-see-from:s See-from:w See-from:p See-from:s">
616
    <z:index name="Subject-topical-see-from:w Subject-topical-see-from:p Subject-topical-see-from:s See-from:w See-from:p See-from:s">
Lines 557-562 Link Here
557
      </xslo:variable>
677
      </xslo:variable>
558
      <xslo:value-of select="normalize-space($raw_heading)"/>
678
      <xslo:value-of select="normalize-space($raw_heading)"/>
559
    </z:index>
679
    </z:index>
680
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
681
      <xslo:variable name="raw_heading">
682
        <xslo:for-each select="marc:subfield">
683
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
684
            <xslo:if test="position() &gt; 1">
685
              <xslo:choose>
686
                <xslo:when test="contains('', @code)">
687
                  <xslo:text>--</xslo:text>
688
                </xslo:when>
689
                <xslo:otherwise>
690
                  <xslo:value-of select="substring(' ', 1, 1)"/>
691
                </xslo:otherwise>
692
              </xslo:choose>
693
            </xslo:if>
694
            <xslo:value-of select="."/>
695
          </xslo:if>
696
        </xslo:for-each>
697
      </xslo:variable>
698
      <xslo:value-of select="normalize-space($raw_heading)"/>
699
    </z:index>
560
  </xslo:template>
700
  </xslo:template>
561
  <xslo:template mode="index_heading" match="marc:datafield[@tag='451']">
701
  <xslo:template mode="index_heading" match="marc:datafield[@tag='451']">
562
    <z:index name="Name-geographic-see-from:w Name-geographic-see-from:p Name-geographic-see-from:s See-from:w See-from:p See-from:s">
702
    <z:index name="Name-geographic-see-from:w Name-geographic-see-from:p Name-geographic-see-from:s See-from:w See-from:p See-from:s">
Lines 623-628 Link Here
623
      </xslo:variable>
763
      </xslo:variable>
624
      <xslo:value-of select="normalize-space($raw_heading)"/>
764
      <xslo:value-of select="normalize-space($raw_heading)"/>
625
    </z:index>
765
    </z:index>
766
    <z:index name="Heading-Main:w Heading-Main:p Heading-Main:s">
767
      <xslo:variable name="raw_heading">
768
        <xslo:for-each select="marc:subfield">
769
          <xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s">
770
            <xslo:if test="position() &gt; 1">
771
              <xslo:choose>
772
                <xslo:when test="contains('', @code)">
773
                  <xslo:text>--</xslo:text>
774
                </xslo:when>
775
                <xslo:otherwise>
776
                  <xslo:value-of select="substring(' ', 1, 1)"/>
777
                </xslo:otherwise>
778
              </xslo:choose>
779
            </xslo:if>
780
            <xslo:value-of select="."/>
781
          </xslo:if>
782
        </xslo:for-each>
783
      </xslo:variable>
784
      <xslo:value-of select="normalize-space($raw_heading)"/>
785
    </z:index>
626
  </xslo:template>
786
  </xslo:template>
627
  <xslo:template mode="index_heading" match="marc:datafield[@tag='455']">
787
  <xslo:template mode="index_heading" match="marc:datafield[@tag='455']">
628
    <z:index name="Term-genre-form-see-from:w Term-genre-form-see-from:p Term-genre-form-see-from:s See-from:w See-from:p See-from:s">
788
    <z:index name="Term-genre-form-see-from:w Term-genre-form-see-from:p Term-genre-form-see-from:s See-from:w See-from:p See-from:s">
Lines 1826-1829 Link Here
1826
      <xslo:value-of select="$full_thesaurus_code"/>
1986
      <xslo:value-of select="$full_thesaurus_code"/>
1827
    </z:index>
1987
    </z:index>
1828
  </xslo:template>
1988
  </xslo:template>
1989
  <xslo:template match="*">
1990
    <z:index name="Any:w Any:p">
1991
      <xslo:value-of select="."/>
1992
    </z:index>
1993
  </xslo:template>
1829
</xslo:stylesheet>
1994
</xslo:stylesheet>
(-)a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl (-1 / +5 lines)
Lines 54-59 Link Here
54
            <xsl:call-template name="handle-index-heading"/>
54
            <xsl:call-template name="handle-index-heading"/>
55
            <xsl:call-template name="handle-index-match-heading"/>
55
            <xsl:call-template name="handle-index-match-heading"/>
56
            <xsl:apply-templates/>
56
            <xsl:apply-templates/>
57
            <xslo:template match="*">
58
                <z:index name="Any:w Any:p">
59
                    <xslo:value-of select="."/>
60
                </z:index>
61
            </xslo:template>
57
        </xslo:stylesheet>
62
        </xslo:stylesheet>
58
    </xsl:template>
63
    </xsl:template>
59
64
60
- 

Return to bug 3072