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

(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml (-48 / +77 lines)
Lines 290-306 Link Here
290
    <target_index>Graphics-support:w</target_index>
290
    <target_index>Graphics-support:w</target_index>
291
  </index_subfields>
291
  </index_subfields>
292
  <!--==== AUTHOR ====-->
292
  <!--==== AUTHOR ====-->
293
  <!--200$fg-->
293
  <!--200$fg : Main author and other authors-->
294
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="200" subfields="fg">
294
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="200" subfields="fg">
295
    <target_index>Author:w</target_index>
295
    <target_index>Author:w</target_index>
296
    <target_index>Author:p</target_index>
296
    <target_index>Author:p</target_index>
297
  </index_subfields>
297
  </index_subfields>
298
  <!--record.abs line 96: melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n-->
298
  <!--205$fg : Main author and other authors of the edition-->
299
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="205" subfields="f">
300
    <target_index>Author:w</target_index>
301
    <target_index>Author:p</target_index>
302
  </index_subfields>
303
  <!--700 : Physical author (main)-->
304
  <!--Do not index $f (dates),$c (additions other than dates),$p (affiliation/address),$3,$4. Index $9 only in Koha-Auth-Number. Index $a in Author:s-->
299
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="9">
305
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="9">
300
    <target_index>Koha-Auth-Number:w</target_index>
306
    <target_index>Koha-Auth-Number:w</target_index>
301
    <target_index>Koha-Auth-Number:n</target_index>
307
    <target_index>Koha-Auth-Number:n</target_index>
302
  </index_subfields>
308
  </index_subfields>
303
  <!--record.abs line 97: melm 700$a      Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s-->
304
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="a">
309
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="a">
305
    <target_index>Author:w</target_index>
310
    <target_index>Author:w</target_index>
306
    <target_index>Personal-name:w</target_index>
311
    <target_index>Personal-name:w</target_index>
Lines 309-355 Link Here
309
    <target_index>Personal-name:w</target_index>
314
    <target_index>Personal-name:w</target_index>
310
    <target_index>Author:s</target_index>
315
    <target_index>Author:s</target_index>
311
  </index_subfields>
316
  </index_subfields>
312
  <!--record.abs line 98: melm 700        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p-->
317
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="700" subfields="bdg">
313
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="700">
314
    <target_index>Author:w</target_index>
318
    <target_index>Author:w</target_index>
315
    <target_index>Personal-name:w</target_index>
319
    <target_index>Personal-name:w</target_index>
316
    <target_index>Author:p</target_index>
320
    <target_index>Author:p</target_index>
317
    <target_index>Personal-name:p</target_index>
321
    <target_index>Personal-name:p</target_index>
318
    <target_index>Personal-name:p</target_index>
322
    <target_index>Personal-name:w</target_index>
319
  </index_data_field>
323
  </index_subfields>
320
  <!--record.abs line 99: melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n-->
324
  <!--701 : Physical author (other)-->
325
  <!--Index $9 only in Koha-Auth-Number-->
321
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="9">
326
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="9">
322
    <target_index>Koha-Auth-Number:w</target_index>
327
    <target_index>Koha-Auth-Number:w</target_index>
323
    <target_index>Koha-Auth-Number:n</target_index>
328
    <target_index>Koha-Auth-Number:n</target_index>
324
  </index_subfields>
329
  </index_subfields>
325
  <!--record.abs line 100: melm 701        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p-->
330
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="701" subfields="abdg">
326
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="701">
327
    <target_index>Author:w</target_index>
331
    <target_index>Author:w</target_index>
328
    <target_index>Personal-name:w</target_index>
332
    <target_index>Personal-name:w</target_index>
329
    <target_index>Author:p</target_index>
333
    <target_index>Author:p</target_index>
330
    <target_index>Personal-name:p</target_index>
334
    <target_index>Personal-name:p</target_index>
331
    <target_index>Personal-name:p</target_index>
335
    <target_index>Personal-name:w</target_index>
332
  </index_data_field>
336
  </index_subfields>
333
  <!--record.abs line 101: melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n-->
337
  <!--702 : Physical author (secondary)-->
338
  <!--Index $9 only in Koha-Auth-Number-->
334
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="9">
339
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="9">
335
    <target_index>Koha-Auth-Number:w</target_index>
340
    <target_index>Koha-Auth-Number:w</target_index>
336
    <target_index>Koha-Auth-Number:n</target_index>
341
    <target_index>Koha-Auth-Number:n</target_index>
337
  </index_subfields>
342
  </index_subfields>
338
  <!--record.abs line 102: melm 702        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p-->
343
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="702" subfields="abdg">
339
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="702">
340
    <target_index>Author:w</target_index>
344
    <target_index>Author:w</target_index>
341
    <target_index>Personal-name:w</target_index>
345
    <target_index>Personal-name:w</target_index>
342
    <target_index>Author:p</target_index>
346
    <target_index>Author:p</target_index>
343
    <target_index>Personal-name:p</target_index>
347
    <target_index>Personal-name:p</target_index>
344
    <target_index>Personal-name:p</target_index>
348
    <target_index>Personal-name:w</target_index>
345
  </index_data_field>
349
  </index_subfields>
346
  <!--record.abs line 105: melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n-->
350
  <!--710 : Collective author (main)-->
351
  <!--Do not index $p (affiliation/address),$3,$4. Index $a in Author:s. Index $9 only in Koha-Auth-Number-->
347
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="9">
352
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="9">
348
    <target_index>Koha-Auth-Number:w</target_index>
353
    <target_index>Koha-Auth-Number:w</target_index>
349
    <target_index>Koha-Auth-Number:n</target_index>
354
    <target_index>Koha-Auth-Number:n</target_index>
350
  </index_subfields>
355
  </index_subfields>
351
  <!--record.abs line 106: melm 710    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p-->
356
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="a">
352
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="710">
353
    <target_index>Author:w</target_index>
357
    <target_index>Author:w</target_index>
354
    <target_index>Author-name-corporate:w</target_index>
358
    <target_index>Author-name-corporate:w</target_index>
355
    <target_index>Author-name-conference:w</target_index>
359
    <target_index>Author-name-conference:w</target_index>
Lines 360-373 Link Here
360
    <target_index>Author-name-conference:p</target_index>
364
    <target_index>Author-name-conference:p</target_index>
361
    <target_index>Corporate-name:p</target_index>
365
    <target_index>Corporate-name:p</target_index>
362
    <target_index>Conference-name:p</target_index>
366
    <target_index>Conference-name:p</target_index>
363
  </index_data_field>
367
    <target_index>Author:s</target_index>
364
  <!--record.abs line 107: melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n-->
368
  </index_subfields>
369
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="bcdefgh">
370
    <target_index>Author:w</target_index>
371
    <target_index>Author-name-corporate:w</target_index>
372
    <target_index>Author-name-conference:w</target_index>
373
    <target_index>Corporate-name:w</target_index>
374
    <target_index>Conference-name:w</target_index>
375
    <target_index>Author:p</target_index>
376
    <target_index>Author-name-corporate:p</target_index>
377
    <target_index>Author-name-conference:p</target_index>
378
    <target_index>Corporate-name:p</target_index>
379
    <target_index>Conference-name:p</target_index>
380
  </index_subfields>
381
  <!--711 : Collective author (other)-->
382
  <!--Index $9 only in Koha-Auth-Number-->
365
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="9">
383
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="9">
366
    <target_index>Koha-Auth-Number:w</target_index>
384
    <target_index>Koha-Auth-Number:w</target_index>
367
    <target_index>Koha-Auth-Number:n</target_index>
385
    <target_index>Koha-Auth-Number:n</target_index>
368
  </index_subfields>
386
  </index_subfields>
369
  <!--record.abs line 108: melm 711    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p-->
387
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="abcdefgh">
370
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="711">
371
    <target_index>Author:w</target_index>
388
    <target_index>Author:w</target_index>
372
    <target_index>Author-name-corporate:w</target_index>
389
    <target_index>Author-name-corporate:w</target_index>
373
    <target_index>Author-name-conference:w</target_index>
390
    <target_index>Author-name-conference:w</target_index>
Lines 378-391 Link Here
378
    <target_index>Author-name-conference:p</target_index>
395
    <target_index>Author-name-conference:p</target_index>
379
    <target_index>Corporate-name:p</target_index>
396
    <target_index>Corporate-name:p</target_index>
380
    <target_index>Conference-name:p</target_index>
397
    <target_index>Conference-name:p</target_index>
381
  </index_data_field>
398
  </index_subfields>
382
  <!--record.abs line 110: melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n-->
399
  <!--712 : Collective author (secondary)-->
400
  <!--Index $9 only in Koha-Auth-Number-->
383
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="9">
401
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="9">
384
    <target_index>Koha-Auth-Number:w</target_index>
402
    <target_index>Koha-Auth-Number:w</target_index>
385
    <target_index>Koha-Auth-Number:n</target_index>
403
    <target_index>Koha-Auth-Number:n</target_index>
386
  </index_subfields>
404
  </index_subfields>
387
  <!--record.abs line 111: melm 712    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p-->
405
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="712" subfields="abcdefgh">
388
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="712">
389
    <target_index>Author:w</target_index>
406
    <target_index>Author:w</target_index>
390
    <target_index>Author-name-corporate:w</target_index>
407
    <target_index>Author-name-corporate:w</target_index>
391
    <target_index>Author-name-conference:w</target_index>
408
    <target_index>Author-name-conference:w</target_index>
Lines 396-452 Link Here
396
    <target_index>Author-name-conference:p</target_index>
413
    <target_index>Author-name-conference:p</target_index>
397
    <target_index>Corporate-name:p</target_index>
414
    <target_index>Corporate-name:p</target_index>
398
    <target_index>Conference-name:p</target_index>
415
    <target_index>Conference-name:p</target_index>
399
  </index_data_field>
416
  </index_subfields>
400
  <!--record.abs line 147: melm 716$9        Koha-Auth-Number,Koha-Auth-Number:n-->
417
  <!--716$a : Trademark-->
418
  <!--Do not index $f (dates),$c (additions other than dates),$3,$4. Index $9 only in Koha-Auth-Number-->
401
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="716" subfields="9">
419
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="716" subfields="9">
402
    <target_index>Koha-Auth-Number:w</target_index>
420
    <target_index>Koha-Auth-Number:w</target_index>
403
    <target_index>Koha-Auth-Number:n</target_index>
421
    <target_index>Koha-Auth-Number:n</target_index>
404
  </index_subfields>
422
  </index_subfields>
405
  <!--record.abs line 148: melm 716    Author:w,Author:p-->
423
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="716" subfields="a">
406
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="716">
407
    <target_index>Author:w</target_index>
424
    <target_index>Author:w</target_index>
408
    <target_index>Author:p</target_index>
425
    <target_index>Author:p</target_index>
409
  </index_data_field>
426
  </index_data_field>
410
  <!--record.abs line 151: melm 720$9        Koha-Auth-Number,Koha-Auth-Number:n-->
427
  <!--720$a : Family (main)-->
428
  <!--Index $9 only in Koha-Auth-Number-->
411
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="720" subfields="9">
429
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="720" subfields="9">
412
    <target_index>Koha-Auth-Number:w</target_index>
430
    <target_index>Koha-Auth-Number:w</target_index>
413
    <target_index>Koha-Auth-Number:n</target_index>
431
    <target_index>Koha-Auth-Number:n</target_index>
414
  </index_subfields>
432
  </index_subfields>
415
  <!--record.abs line 152: melm 720    Author:w,Author:p-->
433
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="720" subfields="a">
416
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="720">
417
    <target_index>Author:w</target_index>
434
    <target_index>Author:w</target_index>
418
    <target_index>Author:p</target_index>
435
    <target_index>Author:p</target_index>
419
  </index_data_field>
436
    <target_index>Author:s</target_index>
420
  <!--record.abs line 153: melm 721$9        Koha-Auth-Number,Koha-Auth-Number:n-->
437
  </index_subfields>
438
  <!--721$a : Family (other)-->
439
  <!--Index $9 only in Koha-Auth-Number-->
421
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="721" subfields="9">
440
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="721" subfields="9">
422
    <target_index>Koha-Auth-Number:w</target_index>
441
    <target_index>Koha-Auth-Number:w</target_index>
423
    <target_index>Koha-Auth-Number:n</target_index>
442
    <target_index>Koha-Auth-Number:n</target_index>
424
  </index_subfields>
443
  </index_subfields>
425
  <!--record.abs line 154: melm 721    Author:w,Author:p-->
444
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="721" subfields="a">
426
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="721">
427
    <target_index>Author:w</target_index>
445
    <target_index>Author:w</target_index>
428
    <target_index>Author:p</target_index>
446
    <target_index>Author:p</target_index>
429
  </index_data_field>
447
  </index_subfields>
430
  <!--record.abs line 155: melm 722$9        Koha-Auth-Number,Koha-Auth-Number:n-->
448
  <!--722$a : Family (secondary)-->
449
  <!--Index $9 only in Koha-Auth-Number-->
431
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="722" subfields="9">
450
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="722" subfields="9">
432
    <target_index>Koha-Auth-Number:w</target_index>
451
    <target_index>Koha-Auth-Number:w</target_index>
433
    <target_index>Koha-Auth-Number:n</target_index>
452
    <target_index>Koha-Auth-Number:n</target_index>
434
  </index_subfields>
453
  </index_subfields>
435
  <!--record.abs line 156: melm 722    Author:w,Author:p-->
454
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="722" subfields="a">
436
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="722">
437
    <target_index>Author:w</target_index>
455
    <target_index>Author:w</target_index>
438
    <target_index>Author:p</target_index>
456
    <target_index>Author:p</target_index>
439
  </index_data_field>
457
  </index_subfields>
440
  <!--record.abs line 159: melm 730$9        Koha-Auth-Number,Koha-Auth-Number:n-->
458
  <!--730$a : Name-responsabily Author-->
459
  <!--Do not index $f (dates),$3,$4. Index $9 only in Koha-Auth-Number-->
441
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="730" subfields="9">
460
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="730" subfields="9">
442
    <target_index>Koha-Auth-Number:w</target_index>
461
    <target_index>Koha-Auth-Number:w</target_index>
443
    <target_index>Koha-Auth-Number:n</target_index>
462
    <target_index>Koha-Auth-Number:n</target_index>
444
  </index_subfields>
463
  </index_subfields>
445
  <!--record.abs line 160: melm 730    Author:w,Author:p-->
464
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="730" subfields="a">
446
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="730">
447
    <target_index>Author:w</target_index>
465
    <target_index>Author:w</target_index>
448
    <target_index>Author:p</target_index>
466
    <target_index>Author:p</target_index>
449
  </index_data_field>
467
  </index_subfields>
468
  <!--740-742 = uniform and conventional headings for legal and religious texts. Use not recommended in France (503 used instead, see http://multimedia.bnf.fr/unimarcb_trad/B7XX-6-2011.pdf )-->
450
  <!--200 - Title-->
469
  <!--200 - Title-->
451
  <!--Title-cover is used for relevant sorting-->
470
  <!--Title-cover is used for relevant sorting-->
452
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="200" subfields="aei">
471
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="200" subfields="aei">
Lines 972-977 Link Here
972
    <target_index>Koha-Auth-Number:w</target_index>
991
    <target_index>Koha-Auth-Number:w</target_index>
973
    <target_index>Koha-Auth-Number:n</target_index>
992
    <target_index>Koha-Auth-Number:n</target_index>
974
  </index_subfields>
993
  </index_subfields>
994
  <!--511$9    Koha-Auth-Number,Koha-Auth-Number:n-->
995
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="511" subfields="9">
996
    <target_index>Koha-Auth-Number:w</target_index>
997
    <target_index>Koha-Auth-Number:n</target_index>
998
  </index_subfields>
975
  <!--record.abs line 246: melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n-->
999
  <!--record.abs line 246: melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n-->
976
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="512" subfields="9">
1000
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="512" subfields="9">
977
    <target_index>Koha-Auth-Number:w</target_index>
1001
    <target_index>Koha-Auth-Number:w</target_index>
Lines 1072-1077 Link Here
1072
    <target_index>Title:w</target_index>
1096
    <target_index>Title:w</target_index>
1073
    <target_index>Title:p</target_index>
1097
    <target_index>Title:p</target_index>
1074
  </index_data_field>
1098
  </index_data_field>
1099
  <!--511 : False title-->
1100
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="511">
1101
    <target_index>Title:w</target_index>
1102
    <target_index>Title:p</target_index>
1103
  </index_data_field>
1075
  <!--record.abs line 266: melm 512		Title,Title:p-->
1104
  <!--record.abs line 266: melm 512		Title,Title:p-->
1076
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="512">
1105
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="512">
1077
    <target_index>Title:w</target_index>
1106
    <target_index>Title:w</target_index>
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-127 / +102 lines)
Lines 436-443 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
436
        </z:index>
436
        </z:index>
437
      </xslo:if>
437
      </xslo:if>
438
    </xslo:for-each>
438
    </xslo:for-each>
439
  </xslo:template>
440
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='101']">
441
    <xslo:for-each select="marc:subfield">
439
    <xslo:for-each select="marc:subfield">
442
      <xslo:if test="contains('c', @code)">
440
      <xslo:if test="contains('c', @code)">
443
        <z:index name="language-original:w">
441
        <z:index name="language-original:w">
Lines 654-659 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
654
      </xslo:if>
652
      </xslo:if>
655
    </xslo:for-each>
653
    </xslo:for-each>
656
  </xslo:template>
654
  </xslo:template>
655
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='205']">
656
    <xslo:for-each select="marc:subfield">
657
      <xslo:if test="contains('f', @code)">
658
        <z:index name="Author:w Author:p">
659
          <xslo:value-of select="."/>
660
        </z:index>
661
      </xslo:if>
662
    </xslo:for-each>
663
  </xslo:template>
657
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">
664
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">
658
    <xslo:for-each select="marc:subfield">
665
    <xslo:for-each select="marc:subfield">
659
      <xslo:if test="contains('9', @code)">
666
      <xslo:if test="contains('9', @code)">
Lines 669-674 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
669
        </z:index>
676
        </z:index>
670
      </xslo:if>
677
      </xslo:if>
671
    </xslo:for-each>
678
    </xslo:for-each>
679
    <xslo:for-each select="marc:subfield">
680
      <xslo:if test="contains('bdg', @code)">
681
        <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w">
682
          <xslo:value-of select="."/>
683
        </z:index>
684
      </xslo:if>
685
    </xslo:for-each>
672
  </xslo:template>
686
  </xslo:template>
673
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='701']">
687
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='701']">
674
    <xslo:for-each select="marc:subfield">
688
    <xslo:for-each select="marc:subfield">
Lines 678-683 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
678
        </z:index>
692
        </z:index>
679
      </xslo:if>
693
      </xslo:if>
680
    </xslo:for-each>
694
    </xslo:for-each>
695
    <xslo:for-each select="marc:subfield">
696
      <xslo:if test="contains('abdg', @code)">
697
        <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w">
698
          <xslo:value-of select="."/>
699
        </z:index>
700
      </xslo:if>
701
    </xslo:for-each>
681
  </xslo:template>
702
  </xslo:template>
682
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='702']">
703
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='702']">
683
    <xslo:for-each select="marc:subfield">
704
    <xslo:for-each select="marc:subfield">
Lines 687-692 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
687
        </z:index>
708
        </z:index>
688
      </xslo:if>
709
      </xslo:if>
689
    </xslo:for-each>
710
    </xslo:for-each>
711
    <xslo:for-each select="marc:subfield">
712
      <xslo:if test="contains('abdg', @code)">
713
        <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w">
714
          <xslo:value-of select="."/>
715
        </z:index>
716
      </xslo:if>
717
    </xslo:for-each>
690
  </xslo:template>
718
  </xslo:template>
691
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']">
719
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']">
692
    <xslo:for-each select="marc:subfield">
720
    <xslo:for-each select="marc:subfield">
Lines 696-701 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
696
        </z:index>
724
        </z:index>
697
      </xslo:if>
725
      </xslo:if>
698
    </xslo:for-each>
726
    </xslo:for-each>
727
    <xslo:for-each select="marc:subfield">
728
      <xslo:if test="contains('a', @code)">
729
        <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p Author:s">
730
          <xslo:value-of select="."/>
731
        </z:index>
732
      </xslo:if>
733
    </xslo:for-each>
734
    <xslo:for-each select="marc:subfield">
735
      <xslo:if test="contains('bcdefgh', @code)">
736
        <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
737
          <xslo:value-of select="."/>
738
        </z:index>
739
      </xslo:if>
740
    </xslo:for-each>
699
  </xslo:template>
741
  </xslo:template>
700
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']">
742
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']">
701
    <xslo:for-each select="marc:subfield">
743
    <xslo:for-each select="marc:subfield">
Lines 705-710 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
705
        </z:index>
747
        </z:index>
706
      </xslo:if>
748
      </xslo:if>
707
    </xslo:for-each>
749
    </xslo:for-each>
750
    <xslo:for-each select="marc:subfield">
751
      <xslo:if test="contains('abcdefgh', @code)">
752
        <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
753
          <xslo:value-of select="."/>
754
        </z:index>
755
      </xslo:if>
756
    </xslo:for-each>
708
  </xslo:template>
757
  </xslo:template>
709
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='712']">
758
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='712']">
710
    <xslo:for-each select="marc:subfield">
759
    <xslo:for-each select="marc:subfield">
Lines 714-719 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
714
        </z:index>
763
        </z:index>
715
      </xslo:if>
764
      </xslo:if>
716
    </xslo:for-each>
765
    </xslo:for-each>
766
    <xslo:for-each select="marc:subfield">
767
      <xslo:if test="contains('abcdefgh', @code)">
768
        <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
769
          <xslo:value-of select="."/>
770
        </z:index>
771
      </xslo:if>
772
    </xslo:for-each>
717
  </xslo:template>
773
  </xslo:template>
718
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='716']">
774
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='716']">
719
    <xslo:for-each select="marc:subfield">
775
    <xslo:for-each select="marc:subfield">
Lines 732-737 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
732
        </z:index>
788
        </z:index>
733
      </xslo:if>
789
      </xslo:if>
734
    </xslo:for-each>
790
    </xslo:for-each>
791
    <xslo:for-each select="marc:subfield">
792
      <xslo:if test="contains('a', @code)">
793
        <z:index name="Author:w Author:p Author:s">
794
          <xslo:value-of select="."/>
795
        </z:index>
796
      </xslo:if>
797
    </xslo:for-each>
735
  </xslo:template>
798
  </xslo:template>
736
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='721']">
799
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='721']">
737
    <xslo:for-each select="marc:subfield">
800
    <xslo:for-each select="marc:subfield">
Lines 741-746 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
741
        </z:index>
804
        </z:index>
742
      </xslo:if>
805
      </xslo:if>
743
    </xslo:for-each>
806
    </xslo:for-each>
807
    <xslo:for-each select="marc:subfield">
808
      <xslo:if test="contains('a', @code)">
809
        <z:index name="Author:w Author:p">
810
          <xslo:value-of select="."/>
811
        </z:index>
812
      </xslo:if>
813
    </xslo:for-each>
744
  </xslo:template>
814
  </xslo:template>
745
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='722']">
815
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='722']">
746
    <xslo:for-each select="marc:subfield">
816
    <xslo:for-each select="marc:subfield">
Lines 750-755 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
750
        </z:index>
820
        </z:index>
751
      </xslo:if>
821
      </xslo:if>
752
    </xslo:for-each>
822
    </xslo:for-each>
823
    <xslo:for-each select="marc:subfield">
824
      <xslo:if test="contains('a', @code)">
825
        <z:index name="Author:w Author:p">
826
          <xslo:value-of select="."/>
827
        </z:index>
828
      </xslo:if>
829
    </xslo:for-each>
753
  </xslo:template>
830
  </xslo:template>
754
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']">
831
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']">
755
    <xslo:for-each select="marc:subfield">
832
    <xslo:for-each select="marc:subfield">
Lines 759-764 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
759
        </z:index>
836
        </z:index>
760
      </xslo:if>
837
      </xslo:if>
761
    </xslo:for-each>
838
    </xslo:for-each>
839
    <xslo:for-each select="marc:subfield">
840
      <xslo:if test="contains('a', @code)">
841
        <z:index name="Author:w Author:p">
842
          <xslo:value-of select="."/>
843
        </z:index>
844
      </xslo:if>
845
    </xslo:for-each>
762
  </xslo:template>
846
  </xslo:template>
763
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='208']">
847
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='208']">
764
    <xslo:for-each select="marc:subfield">
848
    <xslo:for-each select="marc:subfield">
Lines 1532-1537 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1532
      </xslo:if>
1616
      </xslo:if>
1533
    </xslo:for-each>
1617
    </xslo:for-each>
1534
  </xslo:template>
1618
  </xslo:template>
1619
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='511']">
1620
    <xslo:for-each select="marc:subfield">
1621
      <xslo:if test="contains('9', @code)">
1622
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1623
          <xslo:value-of select="."/>
1624
        </z:index>
1625
      </xslo:if>
1626
    </xslo:for-each>
1627
  </xslo:template>
1535
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='512']">
1628
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='512']">
1536
    <xslo:for-each select="marc:subfield">
1629
    <xslo:for-each select="marc:subfield">
1537
      <xslo:if test="contains('9', @code)">
1630
      <xslo:if test="contains('9', @code)">
Lines 1857-1940 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1857
      </xslo:if>
1950
      </xslo:if>
1858
    </xslo:for-each>
1951
    </xslo:for-each>
1859
  </xslo:template>
1952
  </xslo:template>
1860
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='700']">
1861
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
1862
      <xslo:variable name="raw_heading">
1863
        <xslo:for-each select="marc:subfield">
1864
          <xslo:if test="position() &gt; 1">
1865
            <xslo:value-of select="substring(' ', 1, 1)"/>
1866
          </xslo:if>
1867
          <xslo:value-of select="."/>
1868
        </xslo:for-each>
1869
      </xslo:variable>
1870
      <xslo:value-of select="normalize-space($raw_heading)"/>
1871
    </z:index>
1872
  </xslo:template>
1873
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='701']">
1874
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
1875
      <xslo:variable name="raw_heading">
1876
        <xslo:for-each select="marc:subfield">
1877
          <xslo:if test="position() &gt; 1">
1878
            <xslo:value-of select="substring(' ', 1, 1)"/>
1879
          </xslo:if>
1880
          <xslo:value-of select="."/>
1881
        </xslo:for-each>
1882
      </xslo:variable>
1883
      <xslo:value-of select="normalize-space($raw_heading)"/>
1884
    </z:index>
1885
  </xslo:template>
1886
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='702']">
1887
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
1888
      <xslo:variable name="raw_heading">
1889
        <xslo:for-each select="marc:subfield">
1890
          <xslo:if test="position() &gt; 1">
1891
            <xslo:value-of select="substring(' ', 1, 1)"/>
1892
          </xslo:if>
1893
          <xslo:value-of select="."/>
1894
        </xslo:for-each>
1895
      </xslo:variable>
1896
      <xslo:value-of select="normalize-space($raw_heading)"/>
1897
    </z:index>
1898
  </xslo:template>
1899
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='710']">
1900
    <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
1901
      <xslo:variable name="raw_heading">
1902
        <xslo:for-each select="marc:subfield">
1903
          <xslo:if test="position() &gt; 1">
1904
            <xslo:value-of select="substring(' ', 1, 1)"/>
1905
          </xslo:if>
1906
          <xslo:value-of select="."/>
1907
        </xslo:for-each>
1908
      </xslo:variable>
1909
      <xslo:value-of select="normalize-space($raw_heading)"/>
1910
    </z:index>
1911
  </xslo:template>
1912
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='711']">
1913
    <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
1914
      <xslo:variable name="raw_heading">
1915
        <xslo:for-each select="marc:subfield">
1916
          <xslo:if test="position() &gt; 1">
1917
            <xslo:value-of select="substring(' ', 1, 1)"/>
1918
          </xslo:if>
1919
          <xslo:value-of select="."/>
1920
        </xslo:for-each>
1921
      </xslo:variable>
1922
      <xslo:value-of select="normalize-space($raw_heading)"/>
1923
    </z:index>
1924
  </xslo:template>
1925
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='712']">
1926
    <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
1927
      <xslo:variable name="raw_heading">
1928
        <xslo:for-each select="marc:subfield">
1929
          <xslo:if test="position() &gt; 1">
1930
            <xslo:value-of select="substring(' ', 1, 1)"/>
1931
          </xslo:if>
1932
          <xslo:value-of select="."/>
1933
        </xslo:for-each>
1934
      </xslo:variable>
1935
      <xslo:value-of select="normalize-space($raw_heading)"/>
1936
    </z:index>
1937
  </xslo:template>
1938
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='716']">
1953
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='716']">
1939
    <z:index name="Author:w Author:p">
1954
    <z:index name="Author:w Author:p">
1940
      <xslo:variable name="raw_heading">
1955
      <xslo:variable name="raw_heading">
Lines 1948-1994 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1948
      <xslo:value-of select="normalize-space($raw_heading)"/>
1963
      <xslo:value-of select="normalize-space($raw_heading)"/>
1949
    </z:index>
1964
    </z:index>
1950
  </xslo:template>
1965
  </xslo:template>
1951
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='720']">
1966
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']">
1952
    <z:index name="Author:w Author:p">
1967
    <z:index name="Title:w Title:p">
1953
      <xslo:variable name="raw_heading">
1954
        <xslo:for-each select="marc:subfield">
1955
          <xslo:if test="position() &gt; 1">
1956
            <xslo:value-of select="substring(' ', 1, 1)"/>
1957
          </xslo:if>
1958
          <xslo:value-of select="."/>
1959
        </xslo:for-each>
1960
      </xslo:variable>
1961
      <xslo:value-of select="normalize-space($raw_heading)"/>
1962
    </z:index>
1963
  </xslo:template>
1964
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='721']">
1965
    <z:index name="Author:w Author:p">
1966
      <xslo:variable name="raw_heading">
1967
        <xslo:for-each select="marc:subfield">
1968
          <xslo:if test="position() &gt; 1">
1969
            <xslo:value-of select="substring(' ', 1, 1)"/>
1970
          </xslo:if>
1971
          <xslo:value-of select="."/>
1972
        </xslo:for-each>
1973
      </xslo:variable>
1974
      <xslo:value-of select="normalize-space($raw_heading)"/>
1975
    </z:index>
1976
  </xslo:template>
1977
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='722']">
1978
    <z:index name="Author:w Author:p">
1979
      <xslo:variable name="raw_heading">
1980
        <xslo:for-each select="marc:subfield">
1981
          <xslo:if test="position() &gt; 1">
1982
            <xslo:value-of select="substring(' ', 1, 1)"/>
1983
          </xslo:if>
1984
          <xslo:value-of select="."/>
1985
        </xslo:for-each>
1986
      </xslo:variable>
1987
      <xslo:value-of select="normalize-space($raw_heading)"/>
1988
    </z:index>
1989
  </xslo:template>
1990
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='730']">
1991
    <z:index name="Author:w Author:p">
1992
      <xslo:variable name="raw_heading">
1968
      <xslo:variable name="raw_heading">
1993
        <xslo:for-each select="marc:subfield">
1969
        <xslo:for-each select="marc:subfield">
1994
          <xslo:if test="position() &gt; 1">
1970
          <xslo:if test="position() &gt; 1">
Lines 2000-2006 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2000
      <xslo:value-of select="normalize-space($raw_heading)"/>
1976
      <xslo:value-of select="normalize-space($raw_heading)"/>
2001
    </z:index>
1977
    </z:index>
2002
  </xslo:template>
1978
  </xslo:template>
2003
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']">
1979
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='500']">
2004
    <z:index name="Title:w Title:p">
1980
    <z:index name="Title:w Title:p">
2005
      <xslo:variable name="raw_heading">
1981
      <xslo:variable name="raw_heading">
2006
        <xslo:for-each select="marc:subfield">
1982
        <xslo:for-each select="marc:subfield">
Lines 2013-2019 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2013
      <xslo:value-of select="normalize-space($raw_heading)"/>
1989
      <xslo:value-of select="normalize-space($raw_heading)"/>
2014
    </z:index>
1990
    </z:index>
2015
  </xslo:template>
1991
  </xslo:template>
2016
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='500']">
1992
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='501']">
2017
    <z:index name="Title:w Title:p">
1993
    <z:index name="Title:w Title:p">
2018
      <xslo:variable name="raw_heading">
1994
      <xslo:variable name="raw_heading">
2019
        <xslo:for-each select="marc:subfield">
1995
        <xslo:for-each select="marc:subfield">
Lines 2026-2032 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2026
      <xslo:value-of select="normalize-space($raw_heading)"/>
2002
      <xslo:value-of select="normalize-space($raw_heading)"/>
2027
    </z:index>
2003
    </z:index>
2028
  </xslo:template>
2004
  </xslo:template>
2029
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='501']">
2005
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='503']">
2030
    <z:index name="Title:w Title:p">
2006
    <z:index name="Title:w Title:p">
2031
      <xslo:variable name="raw_heading">
2007
      <xslo:variable name="raw_heading">
2032
        <xslo:for-each select="marc:subfield">
2008
        <xslo:for-each select="marc:subfield">
Lines 2039-2045 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2039
      <xslo:value-of select="normalize-space($raw_heading)"/>
2015
      <xslo:value-of select="normalize-space($raw_heading)"/>
2040
    </z:index>
2016
    </z:index>
2041
  </xslo:template>
2017
  </xslo:template>
2042
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='503']">
2018
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='510']">
2043
    <z:index name="Title:w Title:p">
2019
    <z:index name="Title:w Title:p">
2044
      <xslo:variable name="raw_heading">
2020
      <xslo:variable name="raw_heading">
2045
        <xslo:for-each select="marc:subfield">
2021
        <xslo:for-each select="marc:subfield">
Lines 2052-2058 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2052
      <xslo:value-of select="normalize-space($raw_heading)"/>
2028
      <xslo:value-of select="normalize-space($raw_heading)"/>
2053
    </z:index>
2029
    </z:index>
2054
  </xslo:template>
2030
  </xslo:template>
2055
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='510']">
2031
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='511']">
2056
    <z:index name="Title:w Title:p">
2032
    <z:index name="Title:w Title:p">
2057
      <xslo:variable name="raw_heading">
2033
      <xslo:variable name="raw_heading">
2058
        <xslo:for-each select="marc:subfield">
2034
        <xslo:for-each select="marc:subfield">
2059
- 

Return to bug 9352