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

(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml (-49 / +78 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="fg">
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_subfields 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_subfields>
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 974-979 Link Here
974
    <target_index>Koha-Auth-Number:w</target_index>
993
    <target_index>Koha-Auth-Number:w</target_index>
975
    <target_index>Koha-Auth-Number:n</target_index>
994
    <target_index>Koha-Auth-Number:n</target_index>
976
  </index_subfields>
995
  </index_subfields>
996
  <!--511$9    Koha-Auth-Number,Koha-Auth-Number:n-->
997
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="511" subfields="9">
998
    <target_index>Koha-Auth-Number:w</target_index>
999
    <target_index>Koha-Auth-Number:n</target_index>
1000
  </index_subfields>
977
  <!--record.abs line 246: melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n-->
1001
  <!--record.abs line 246: melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n-->
978
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="512" subfields="9">
1002
  <index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="512" subfields="9">
979
    <target_index>Koha-Auth-Number:w</target_index>
1003
    <target_index>Koha-Auth-Number:w</target_index>
Lines 1074-1079 Link Here
1074
    <target_index>Title:w</target_index>
1098
    <target_index>Title:w</target_index>
1075
    <target_index>Title:p</target_index>
1099
    <target_index>Title:p</target_index>
1076
  </index_data_field>
1100
  </index_data_field>
1101
  <!--511 : False title-->
1102
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="511">
1103
    <target_index>Title:w</target_index>
1104
    <target_index>Title:p</target_index>
1105
  </index_data_field>
1077
  <!--record.abs line 266: melm 512		Title,Title:p-->
1106
  <!--record.abs line 266: melm 512		Title,Title:p-->
1078
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="512">
1107
  <index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="512">
1079
    <target_index>Title:w</target_index>
1108
    <target_index>Title:w</target_index>
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (-140 / +109 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('fg', @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 723-728 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
723
        </z:index>
779
        </z:index>
724
      </xslo:if>
780
      </xslo:if>
725
    </xslo:for-each>
781
    </xslo:for-each>
782
    <xslo:for-each select="marc:subfield">
783
      <xslo:if test="contains('a', @code)">
784
        <z:index name="Author:w Author:p">
785
          <xslo:value-of select="."/>
786
        </z:index>
787
      </xslo:if>
788
    </xslo:for-each>
726
  </xslo:template>
789
  </xslo:template>
727
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='720']">
790
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='720']">
728
    <xslo:for-each select="marc:subfield">
791
    <xslo:for-each select="marc:subfield">
Lines 732-737 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
732
        </z:index>
795
        </z:index>
733
      </xslo:if>
796
      </xslo:if>
734
    </xslo:for-each>
797
    </xslo:for-each>
798
    <xslo:for-each select="marc:subfield">
799
      <xslo:if test="contains('a', @code)">
800
        <z:index name="Author:w Author:p Author:s">
801
          <xslo:value-of select="."/>
802
        </z:index>
803
      </xslo:if>
804
    </xslo:for-each>
735
  </xslo:template>
805
  </xslo:template>
736
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='721']">
806
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='721']">
737
    <xslo:for-each select="marc:subfield">
807
    <xslo:for-each select="marc:subfield">
Lines 741-746 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
741
        </z:index>
811
        </z:index>
742
      </xslo:if>
812
      </xslo:if>
743
    </xslo:for-each>
813
    </xslo:for-each>
814
    <xslo:for-each select="marc:subfield">
815
      <xslo:if test="contains('a', @code)">
816
        <z:index name="Author:w Author:p">
817
          <xslo:value-of select="."/>
818
        </z:index>
819
      </xslo:if>
820
    </xslo:for-each>
744
  </xslo:template>
821
  </xslo:template>
745
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='722']">
822
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='722']">
746
    <xslo:for-each select="marc:subfield">
823
    <xslo:for-each select="marc:subfield">
Lines 750-755 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
750
        </z:index>
827
        </z:index>
751
      </xslo:if>
828
      </xslo:if>
752
    </xslo:for-each>
829
    </xslo:for-each>
830
    <xslo:for-each select="marc:subfield">
831
      <xslo:if test="contains('a', @code)">
832
        <z:index name="Author:w Author:p">
833
          <xslo:value-of select="."/>
834
        </z:index>
835
      </xslo:if>
836
    </xslo:for-each>
753
  </xslo:template>
837
  </xslo:template>
754
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']">
838
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']">
755
    <xslo:for-each select="marc:subfield">
839
    <xslo:for-each select="marc:subfield">
Lines 759-764 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
759
        </z:index>
843
        </z:index>
760
      </xslo:if>
844
      </xslo:if>
761
    </xslo:for-each>
845
    </xslo:for-each>
846
    <xslo:for-each select="marc:subfield">
847
      <xslo:if test="contains('a', @code)">
848
        <z:index name="Author:w Author:p">
849
          <xslo:value-of select="."/>
850
        </z:index>
851
      </xslo:if>
852
    </xslo:for-each>
762
  </xslo:template>
853
  </xslo:template>
763
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='208']">
854
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='208']">
764
    <xslo:for-each select="marc:subfield">
855
    <xslo:for-each select="marc:subfield">
Lines 1525-1530 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1525
      </xslo:if>
1616
      </xslo:if>
1526
    </xslo:for-each>
1617
    </xslo:for-each>
1527
  </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>
1528
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='512']">
1628
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='512']">
1529
    <xslo:for-each select="marc:subfield">
1629
    <xslo:for-each select="marc:subfield">
1530
      <xslo:if test="contains('9', @code)">
1630
      <xslo:if test="contains('9', @code)">
Lines 1850-1987 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1850
      </xslo:if>
1950
      </xslo:if>
1851
    </xslo:for-each>
1951
    </xslo:for-each>
1852
  </xslo:template>
1952
  </xslo:template>
1853
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='700']">
1953
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']">
1854
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
1954
    <z:index name="Title:w Title:p">
1855
      <xslo:variable name="raw_heading">
1856
        <xslo:for-each select="marc:subfield">
1857
          <xslo:if test="position() &gt; 1">
1858
            <xslo:value-of select="substring(' ', 1, 1)"/>
1859
          </xslo:if>
1860
          <xslo:value-of select="."/>
1861
        </xslo:for-each>
1862
      </xslo:variable>
1863
      <xslo:value-of select="normalize-space($raw_heading)"/>
1864
    </z:index>
1865
  </xslo:template>
1866
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='701']">
1867
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
1868
      <xslo:variable name="raw_heading">
1869
        <xslo:for-each select="marc:subfield">
1870
          <xslo:if test="position() &gt; 1">
1871
            <xslo:value-of select="substring(' ', 1, 1)"/>
1872
          </xslo:if>
1873
          <xslo:value-of select="."/>
1874
        </xslo:for-each>
1875
      </xslo:variable>
1876
      <xslo:value-of select="normalize-space($raw_heading)"/>
1877
    </z:index>
1878
  </xslo:template>
1879
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='702']">
1880
    <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
1881
      <xslo:variable name="raw_heading">
1882
        <xslo:for-each select="marc:subfield">
1883
          <xslo:if test="position() &gt; 1">
1884
            <xslo:value-of select="substring(' ', 1, 1)"/>
1885
          </xslo:if>
1886
          <xslo:value-of select="."/>
1887
        </xslo:for-each>
1888
      </xslo:variable>
1889
      <xslo:value-of select="normalize-space($raw_heading)"/>
1890
    </z:index>
1891
  </xslo:template>
1892
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='710']">
1893
    <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">
1894
      <xslo:variable name="raw_heading">
1895
        <xslo:for-each select="marc:subfield">
1896
          <xslo:if test="position() &gt; 1">
1897
            <xslo:value-of select="substring(' ', 1, 1)"/>
1898
          </xslo:if>
1899
          <xslo:value-of select="."/>
1900
        </xslo:for-each>
1901
      </xslo:variable>
1902
      <xslo:value-of select="normalize-space($raw_heading)"/>
1903
    </z:index>
1904
  </xslo:template>
1905
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='711']">
1906
    <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">
1907
      <xslo:variable name="raw_heading">
1908
        <xslo:for-each select="marc:subfield">
1909
          <xslo:if test="position() &gt; 1">
1910
            <xslo:value-of select="substring(' ', 1, 1)"/>
1911
          </xslo:if>
1912
          <xslo:value-of select="."/>
1913
        </xslo:for-each>
1914
      </xslo:variable>
1915
      <xslo:value-of select="normalize-space($raw_heading)"/>
1916
    </z:index>
1917
  </xslo:template>
1918
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='712']">
1919
    <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">
1920
      <xslo:variable name="raw_heading">
1921
        <xslo:for-each select="marc:subfield">
1922
          <xslo:if test="position() &gt; 1">
1923
            <xslo:value-of select="substring(' ', 1, 1)"/>
1924
          </xslo:if>
1925
          <xslo:value-of select="."/>
1926
        </xslo:for-each>
1927
      </xslo:variable>
1928
      <xslo:value-of select="normalize-space($raw_heading)"/>
1929
    </z:index>
1930
  </xslo:template>
1931
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='716']">
1932
    <z:index name="Author:w Author:p">
1933
      <xslo:variable name="raw_heading">
1934
        <xslo:for-each select="marc:subfield">
1935
          <xslo:if test="position() &gt; 1">
1936
            <xslo:value-of select="substring(' ', 1, 1)"/>
1937
          </xslo:if>
1938
          <xslo:value-of select="."/>
1939
        </xslo:for-each>
1940
      </xslo:variable>
1941
      <xslo:value-of select="normalize-space($raw_heading)"/>
1942
    </z:index>
1943
  </xslo:template>
1944
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='720']">
1945
    <z:index name="Author:w Author:p">
1946
      <xslo:variable name="raw_heading">
1947
        <xslo:for-each select="marc:subfield">
1948
          <xslo:if test="position() &gt; 1">
1949
            <xslo:value-of select="substring(' ', 1, 1)"/>
1950
          </xslo:if>
1951
          <xslo:value-of select="."/>
1952
        </xslo:for-each>
1953
      </xslo:variable>
1954
      <xslo:value-of select="normalize-space($raw_heading)"/>
1955
    </z:index>
1956
  </xslo:template>
1957
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='721']">
1958
    <z:index name="Author:w Author:p">
1959
      <xslo:variable name="raw_heading">
1960
        <xslo:for-each select="marc:subfield">
1961
          <xslo:if test="position() &gt; 1">
1962
            <xslo:value-of select="substring(' ', 1, 1)"/>
1963
          </xslo:if>
1964
          <xslo:value-of select="."/>
1965
        </xslo:for-each>
1966
      </xslo:variable>
1967
      <xslo:value-of select="normalize-space($raw_heading)"/>
1968
    </z:index>
1969
  </xslo:template>
1970
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='722']">
1971
    <z:index name="Author:w Author:p">
1972
      <xslo:variable name="raw_heading">
1973
        <xslo:for-each select="marc:subfield">
1974
          <xslo:if test="position() &gt; 1">
1975
            <xslo:value-of select="substring(' ', 1, 1)"/>
1976
          </xslo:if>
1977
          <xslo:value-of select="."/>
1978
        </xslo:for-each>
1979
      </xslo:variable>
1980
      <xslo:value-of select="normalize-space($raw_heading)"/>
1981
    </z:index>
1982
  </xslo:template>
1983
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='730']">
1984
    <z:index name="Author:w Author:p">
1985
      <xslo:variable name="raw_heading">
1955
      <xslo:variable name="raw_heading">
1986
        <xslo:for-each select="marc:subfield">
1956
        <xslo:for-each select="marc:subfield">
1987
          <xslo:if test="position() &gt; 1">
1957
          <xslo:if test="position() &gt; 1">
Lines 1993-1999 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1993
      <xslo:value-of select="normalize-space($raw_heading)"/>
1963
      <xslo:value-of select="normalize-space($raw_heading)"/>
1994
    </z:index>
1964
    </z:index>
1995
  </xslo:template>
1965
  </xslo:template>
1996
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']">
1966
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='500']">
1997
    <z:index name="Title:w Title:p">
1967
    <z:index name="Title:w Title:p">
1998
      <xslo:variable name="raw_heading">
1968
      <xslo:variable name="raw_heading">
1999
        <xslo:for-each select="marc:subfield">
1969
        <xslo:for-each select="marc:subfield">
Lines 2006-2012 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2006
      <xslo:value-of select="normalize-space($raw_heading)"/>
1976
      <xslo:value-of select="normalize-space($raw_heading)"/>
2007
    </z:index>
1977
    </z:index>
2008
  </xslo:template>
1978
  </xslo:template>
2009
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='500']">
1979
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='501']">
2010
    <z:index name="Title:w Title:p">
1980
    <z:index name="Title:w Title:p">
2011
      <xslo:variable name="raw_heading">
1981
      <xslo:variable name="raw_heading">
2012
        <xslo:for-each select="marc:subfield">
1982
        <xslo:for-each select="marc:subfield">
Lines 2019-2025 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2019
      <xslo:value-of select="normalize-space($raw_heading)"/>
1989
      <xslo:value-of select="normalize-space($raw_heading)"/>
2020
    </z:index>
1990
    </z:index>
2021
  </xslo:template>
1991
  </xslo:template>
2022
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='501']">
1992
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='503']">
2023
    <z:index name="Title:w Title:p">
1993
    <z:index name="Title:w Title:p">
2024
      <xslo:variable name="raw_heading">
1994
      <xslo:variable name="raw_heading">
2025
        <xslo:for-each select="marc:subfield">
1995
        <xslo:for-each select="marc:subfield">
Lines 2032-2038 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2032
      <xslo:value-of select="normalize-space($raw_heading)"/>
2002
      <xslo:value-of select="normalize-space($raw_heading)"/>
2033
    </z:index>
2003
    </z:index>
2034
  </xslo:template>
2004
  </xslo:template>
2035
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='503']">
2005
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='510']">
2036
    <z:index name="Title:w Title:p">
2006
    <z:index name="Title:w Title:p">
2037
      <xslo:variable name="raw_heading">
2007
      <xslo:variable name="raw_heading">
2038
        <xslo:for-each select="marc:subfield">
2008
        <xslo:for-each select="marc:subfield">
Lines 2045-2051 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
2045
      <xslo:value-of select="normalize-space($raw_heading)"/>
2015
      <xslo:value-of select="normalize-space($raw_heading)"/>
2046
    </z:index>
2016
    </z:index>
2047
  </xslo:template>
2017
  </xslo:template>
2048
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='510']">
2018
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='511']">
2049
    <z:index name="Title:w Title:p">
2019
    <z:index name="Title:w Title:p">
2050
      <xslo:variable name="raw_heading">
2020
      <xslo:variable name="raw_heading">
2051
        <xslo:for-each select="marc:subfield">
2021
        <xslo:for-each select="marc:subfield">
2052
- 

Return to bug 9352