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

(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml (+24 lines)
Lines 297-302 Link Here
297
    <target_index>Author:p</target_index>
297
    <target_index>Author:p</target_index>
298
  </index_subfields>
298
  </index_subfields>
299
  <!--record.abs line 96: melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n-->
299
  <!--record.abs line 96: melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n-->
300
301
  <index_subfields tag="700" subfields="3">
302
    <target_index>Identifier-standard:w</target_index>
303
  </index_subfields>
300
  <index_subfields tag="700" subfields="9">
304
  <index_subfields tag="700" subfields="9">
301
    <target_index>Koha-Auth-Number:w</target_index>
305
    <target_index>Koha-Auth-Number:w</target_index>
302
    <target_index>Koha-Auth-Number:n</target_index>
306
    <target_index>Koha-Auth-Number:n</target_index>
Lines 319-324 Link Here
319
    <target_index>Personal-name:p</target_index>
323
    <target_index>Personal-name:p</target_index>
320
  </index_data_field>
324
  </index_data_field>
321
  <!--record.abs line 99: melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n-->
325
  <!--record.abs line 99: melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n-->
326
327
  <index_subfields tag="701" subfields="3">
328
    <target_index>Identifier-standard:w</target_index>
329
  </index_subfields>
322
  <index_subfields tag="701" subfields="9">
330
  <index_subfields tag="701" subfields="9">
323
    <target_index>Koha-Auth-Number:w</target_index>
331
    <target_index>Koha-Auth-Number:w</target_index>
324
    <target_index>Koha-Auth-Number:n</target_index>
332
    <target_index>Koha-Auth-Number:n</target_index>
Lines 332-337 Link Here
332
    <target_index>Personal-name:p</target_index>
340
    <target_index>Personal-name:p</target_index>
333
  </index_data_field>
341
  </index_data_field>
334
  <!--record.abs line 101: melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n-->
342
  <!--record.abs line 101: melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n-->
343
344
  <index_subfields tag="702" subfields="3">
345
    <target_index>Identifier-standard:w</target_index>
346
  </index_subfields>
335
  <index_subfields tag="702" subfields="9">
347
  <index_subfields tag="702" subfields="9">
336
    <target_index>Koha-Auth-Number:w</target_index>
348
    <target_index>Koha-Auth-Number:w</target_index>
337
    <target_index>Koha-Auth-Number:n</target_index>
349
    <target_index>Koha-Auth-Number:n</target_index>
Lines 345-350 Link Here
345
    <target_index>Personal-name:p</target_index>
357
    <target_index>Personal-name:p</target_index>
346
  </index_data_field>
358
  </index_data_field>
347
  <!--record.abs line 105: melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n-->
359
  <!--record.abs line 105: melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n-->
360
361
  <index_subfields tag="710" subfields="3">
362
    <target_index>Identifier-standard:w</target_index>
363
  </index_subfields>
348
  <index_subfields tag="710" subfields="9">
364
  <index_subfields tag="710" subfields="9">
349
    <target_index>Koha-Auth-Number:w</target_index>
365
    <target_index>Koha-Auth-Number:w</target_index>
350
    <target_index>Koha-Auth-Number:n</target_index>
366
    <target_index>Koha-Auth-Number:n</target_index>
Lines 363-368 Link Here
363
    <target_index>Conference-name:p</target_index>
379
    <target_index>Conference-name:p</target_index>
364
  </index_data_field>
380
  </index_data_field>
365
  <!--record.abs line 107: melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n-->
381
  <!--record.abs line 107: melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n-->
382
383
  <index_subfields tag="711" subfields="3">
384
    <target_index>Identifier-standard:w</target_index>
385
  </index_subfields>
366
  <index_subfields tag="711" subfields="9">
386
  <index_subfields tag="711" subfields="9">
367
    <target_index>Koha-Auth-Number:w</target_index>
387
    <target_index>Koha-Auth-Number:w</target_index>
368
    <target_index>Koha-Auth-Number:n</target_index>
388
    <target_index>Koha-Auth-Number:n</target_index>
Lines 381-386 Link Here
381
    <target_index>Conference-name:p</target_index>
401
    <target_index>Conference-name:p</target_index>
382
  </index_data_field>
402
  </index_data_field>
383
  <!--record.abs line 110: melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n-->
403
  <!--record.abs line 110: melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n-->
404
405
  <index_subfields tag="712" subfields="3">
406
    <target_index>Identifier-standard:w</target_index>
407
  </index_subfields>
384
  <index_subfields tag="712" subfields="9">
408
  <index_subfields tag="712" subfields="9">
385
    <target_index>Koha-Auth-Number:w</target_index>
409
    <target_index>Koha-Auth-Number:w</target_index>
386
    <target_index>Koha-Auth-Number:n</target_index>
410
    <target_index>Koha-Auth-Number:n</target_index>
(-)a/etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl (+42 lines)
Lines 642-647 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
642
  </xslo:template>
642
  </xslo:template>
643
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">
643
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">
644
    <xslo:for-each select="marc:subfield">
644
    <xslo:for-each select="marc:subfield">
645
      <xslo:if test="contains('3', @code)">
646
        <z:index name="Identifier-standard:w">
647
          <xslo:value-of select="."/>
648
        </z:index>
649
      </xslo:if>
650
    </xslo:for-each>
651
    <xslo:for-each select="marc:subfield">
645
      <xslo:if test="contains('9', @code)">
652
      <xslo:if test="contains('9', @code)">
646
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
653
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
647
          <xslo:value-of select="."/>
654
          <xslo:value-of select="."/>
Lines 658-663 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
658
  </xslo:template>
665
  </xslo:template>
659
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='701']">
666
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='701']">
660
    <xslo:for-each select="marc:subfield">
667
    <xslo:for-each select="marc:subfield">
668
      <xslo:if test="contains('3', @code)">
669
        <z:index name="Identifier-standard:w">
670
          <xslo:value-of select="."/>
671
        </z:index>
672
      </xslo:if>
673
    </xslo:for-each>
674
    <xslo:for-each select="marc:subfield">
661
      <xslo:if test="contains('9', @code)">
675
      <xslo:if test="contains('9', @code)">
662
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
676
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
663
          <xslo:value-of select="."/>
677
          <xslo:value-of select="."/>
Lines 667-672 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
667
  </xslo:template>
681
  </xslo:template>
668
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='702']">
682
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='702']">
669
    <xslo:for-each select="marc:subfield">
683
    <xslo:for-each select="marc:subfield">
684
      <xslo:if test="contains('3', @code)">
685
        <z:index name="Identifier-standard:w">
686
          <xslo:value-of select="."/>
687
        </z:index>
688
      </xslo:if>
689
    </xslo:for-each>
690
    <xslo:for-each select="marc:subfield">
670
      <xslo:if test="contains('9', @code)">
691
      <xslo:if test="contains('9', @code)">
671
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
692
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
672
          <xslo:value-of select="."/>
693
          <xslo:value-of select="."/>
Lines 676-681 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
676
  </xslo:template>
697
  </xslo:template>
677
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']">
698
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']">
678
    <xslo:for-each select="marc:subfield">
699
    <xslo:for-each select="marc:subfield">
700
      <xslo:if test="contains('3', @code)">
701
        <z:index name="Identifier-standard:w">
702
          <xslo:value-of select="."/>
703
        </z:index>
704
      </xslo:if>
705
    </xslo:for-each>
706
    <xslo:for-each select="marc:subfield">
679
      <xslo:if test="contains('9', @code)">
707
      <xslo:if test="contains('9', @code)">
680
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
708
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
681
          <xslo:value-of select="."/>
709
          <xslo:value-of select="."/>
Lines 685-690 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
685
  </xslo:template>
713
  </xslo:template>
686
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']">
714
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']">
687
    <xslo:for-each select="marc:subfield">
715
    <xslo:for-each select="marc:subfield">
716
      <xslo:if test="contains('3', @code)">
717
        <z:index name="Identifier-standard:w">
718
          <xslo:value-of select="."/>
719
        </z:index>
720
      </xslo:if>
721
    </xslo:for-each>
722
    <xslo:for-each select="marc:subfield">
688
      <xslo:if test="contains('9', @code)">
723
      <xslo:if test="contains('9', @code)">
689
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
724
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
690
          <xslo:value-of select="."/>
725
          <xslo:value-of select="."/>
Lines 694-699 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
694
  </xslo:template>
729
  </xslo:template>
695
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='712']">
730
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='712']">
696
    <xslo:for-each select="marc:subfield">
731
    <xslo:for-each select="marc:subfield">
732
      <xslo:if test="contains('3', @code)">
733
        <z:index name="Identifier-standard:w">
734
          <xslo:value-of select="."/>
735
        </z:index>
736
      </xslo:if>
737
    </xslo:for-each>
738
    <xslo:for-each select="marc:subfield">
697
      <xslo:if test="contains('9', @code)">
739
      <xslo:if test="contains('9', @code)">
698
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
740
        <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
699
          <xslo:value-of select="."/>
741
          <xslo:value-of select="."/>
(-)a/etc/zebradb/marc_defs/unimarc/biblios/record.abs (-1 / +7 lines)
Lines 144-163 melm 200$f Author:w,Author:p Link Here
144
# other Authors
144
# other Authors
145
melm 200$g		Author:w,Author:p
145
melm 200$g		Author:w,Author:p
146
# physical Author
146
# physical Author
147
melm 700$3      Identifier-standard:w
147
melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
148
melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
148
melm 700$a      Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s
149
melm 700$a      Author,Personal-name,Author:p,Personal-name:p,Personal-name,Author:s
149
melm 700        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
150
melm 700        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
151
melm 701$3      Identifier-standard:w
150
melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
152
melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
151
melm 701        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
153
melm 701        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
154
melm 702$3      Identifier-standard:w
152
melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
155
melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
153
melm 702        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
156
melm 702        Author,Personal-name,Author:p,Personal-name:p,Personal-name:p
154
157
155
# collective Author
158
# collective Author
159
melm 710$3      Identifier-standard:w
156
melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
160
melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
157
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
161
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
162
163
melm 711$3      Identifier-standard:w
158
melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
164
melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
159
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
165
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
160
166
167
melm 712$3      Identifier-standard:w
161
melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
168
melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
162
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
169
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
163
170
164
- 

Return to bug 8992