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

(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+42 lines)
Lines 820-825 Link Here
820
    <target_index>Subject:w</target_index>
820
    <target_index>Subject:w</target_index>
821
    <target_index>Subject:p</target_index>
821
    <target_index>Subject:p</target_index>
822
  </index_data_field>
822
  </index_data_field>
823
  <index_subfields tag="662" subfields="9">
824
    <target_index>Koha-Auth-Number:w</target_index>
825
  </index_subfields>
823
  <!--record.abs line 197: melm 690$9      Koha-Auth-Number    -->
826
  <!--record.abs line 197: melm 690$9      Koha-Auth-Number    -->
824
  <index_subfields tag="690" subfields="9">
827
  <index_subfields tag="690" subfields="9">
825
    <target_index>Koha-Auth-Number:w</target_index>
828
    <target_index>Koha-Auth-Number:w</target_index>
Lines 829-834 Link Here
829
    <target_index>Subject:w</target_index>
832
    <target_index>Subject:w</target_index>
830
    <target_index>Subject:p</target_index>
833
    <target_index>Subject:p</target_index>
831
  </index_data_field>
834
  </index_data_field>
835
  <index_subfields tag="691" subfields="9">
836
    <target_index>Koha-Auth-Number:w</target_index>
837
  </index_subfields>
838
  <index_subfields tag="696" subfields="9">
839
    <target_index>Koha-Auth-Number:w</target_index>
840
  </index_subfields>
841
  <index_subfields tag="697" subfields="9">
842
    <target_index>Koha-Auth-Number:w</target_index>
843
  </index_subfields>
844
  <index_subfields tag="698" subfields="9">
845
    <target_index>Koha-Auth-Number:w</target_index>
846
  </index_subfields>
847
  <index_subfields tag="699" subfields="9">
848
    <target_index>Koha-Auth-Number:w</target_index>
849
  </index_subfields>
832
  <!--record.abs line 200: melm 700$9      Cross-Reference,Koha-Auth-Number-->
850
  <!--record.abs line 200: melm 700$9      Cross-Reference,Koha-Auth-Number-->
833
  <index_subfields tag="700" subfields="9">
851
  <index_subfields tag="700" subfields="9">
834
    <target_index>Cross-Reference:w</target_index>
852
    <target_index>Cross-Reference:w</target_index>
Lines 1013-1018 Link Here
1013
  <index_subfields tag="787" subfields="w">
1031
  <index_subfields tag="787" subfields="w">
1014
    <target_index>Record-control-number:w</target_index>
1032
    <target_index>Record-control-number:w</target_index>
1015
  </index_subfields>
1033
  </index_subfields>
1034
  <index_subfields tag="796" subfields="9">
1035
    <target_index>Koha-Auth-Number:w</target_index>
1036
  </index_subfields>
1037
  <index_subfields tag="797" subfields="9">
1038
    <target_index>Koha-Auth-Number:w</target_index>
1039
  </index_subfields>
1040
  <index_subfields tag="798" subfields="9">
1041
    <target_index>Koha-Auth-Number:w</target_index>
1042
  </index_subfields>
1043
  <index_subfields tag="799" subfields="9">
1044
    <target_index>Koha-Auth-Number:w</target_index>
1045
  </index_subfields>
1016
  <!--record.abs line 244: melm 800$a      Name-and-title,Title-series:w,Title-series:p-->
1046
  <!--record.abs line 244: melm 800$a      Name-and-title,Title-series:w,Title-series:p-->
1017
  <index_subfields tag="800" subfields="a">
1047
  <index_subfields tag="800" subfields="a">
1018
    <target_index>Name-and-title:w</target_index>
1048
    <target_index>Name-and-title:w</target_index>
Lines 1120-1125 Link Here
1120
    <target_index>Title-series:w</target_index>
1150
    <target_index>Title-series:w</target_index>
1121
    <target_index>Title-series:p</target_index>
1151
    <target_index>Title-series:p</target_index>
1122
  </index_data_field>
1152
  </index_data_field>
1153
  <index_subfields tag="896" subfields="9">
1154
    <target_index>Koha-Auth-Number:w</target_index>
1155
  </index_subfields>
1156
  <index_subfields tag="897" subfields="9">
1157
    <target_index>Koha-Auth-Number:w</target_index>
1158
  </index_subfields>
1159
  <index_subfields tag="898" subfields="9">
1160
    <target_index>Koha-Auth-Number:w</target_index>
1161
  </index_subfields>
1162
  <index_subfields tag="899" subfields="9">
1163
    <target_index>Koha-Auth-Number:w</target_index>
1164
  </index_subfields>
1123
  <!--record.abs line 268: melm 999$c      Local-Number:n,Local-Number:w,Local-Number:s-->
1165
  <!--record.abs line 268: melm 999$c      Local-Number:n,Local-Number:w,Local-Number:s-->
1124
  <index_subfields tag="999" subfields="c">
1166
  <index_subfields tag="999" subfields="c">
1125
    <target_index>Local-Number:n</target_index>
1167
    <target_index>Local-Number:n</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (-1 / +126 lines)
Lines 746-751 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
746
      </xslo:if>
746
      </xslo:if>
747
    </xslo:for-each>
747
    </xslo:for-each>
748
  </xslo:template>
748
  </xslo:template>
749
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='662']">
750
    <xslo:for-each select="marc:subfield">
751
      <xslo:if test="contains('9', @code)">
752
        <z:index name="Koha-Auth-Number:w">
753
          <xslo:value-of select="."/>
754
        </z:index>
755
      </xslo:if>
756
    </xslo:for-each>
757
  </xslo:template>
749
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='690']">
758
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='690']">
750
    <xslo:for-each select="marc:subfield">
759
    <xslo:for-each select="marc:subfield">
751
      <xslo:if test="contains('9', @code)">
760
      <xslo:if test="contains('9', @code)">
Lines 755-760 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
755
      </xslo:if>
764
      </xslo:if>
756
    </xslo:for-each>
765
    </xslo:for-each>
757
  </xslo:template>
766
  </xslo:template>
767
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='691']">
768
    <xslo:for-each select="marc:subfield">
769
      <xslo:if test="contains('9', @code)">
770
        <z:index name="Koha-Auth-Number:w">
771
          <xslo:value-of select="."/>
772
        </z:index>
773
      </xslo:if>
774
    </xslo:for-each>
775
  </xslo:template>
776
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='696']">
777
    <xslo:for-each select="marc:subfield">
778
      <xslo:if test="contains('9', @code)">
779
        <z:index name="Koha-Auth-Number:w">
780
          <xslo:value-of select="."/>
781
        </z:index>
782
      </xslo:if>
783
    </xslo:for-each>
784
  </xslo:template>
785
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='697']">
786
    <xslo:for-each select="marc:subfield">
787
      <xslo:if test="contains('9', @code)">
788
        <z:index name="Koha-Auth-Number:w">
789
          <xslo:value-of select="."/>
790
        </z:index>
791
      </xslo:if>
792
    </xslo:for-each>
793
  </xslo:template>
794
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='698']">
795
    <xslo:for-each select="marc:subfield">
796
      <xslo:if test="contains('9', @code)">
797
        <z:index name="Koha-Auth-Number:w">
798
          <xslo:value-of select="."/>
799
        </z:index>
800
      </xslo:if>
801
    </xslo:for-each>
802
  </xslo:template>
803
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='699']">
804
    <xslo:for-each select="marc:subfield">
805
      <xslo:if test="contains('9', @code)">
806
        <z:index name="Koha-Auth-Number:w">
807
          <xslo:value-of select="."/>
808
        </z:index>
809
      </xslo:if>
810
    </xslo:for-each>
811
  </xslo:template>
758
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">
812
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">
759
    <xslo:for-each select="marc:subfield">
813
    <xslo:for-each select="marc:subfield">
760
      <xslo:if test="contains('9', @code)">
814
      <xslo:if test="contains('9', @code)">
Lines 995-1000 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
995
      </xslo:if>
1049
      </xslo:if>
996
    </xslo:for-each>
1050
    </xslo:for-each>
997
  </xslo:template>
1051
  </xslo:template>
1052
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='796']">
1053
    <xslo:for-each select="marc:subfield">
1054
      <xslo:if test="contains('9', @code)">
1055
        <z:index name="Koha-Auth-Number:w">
1056
          <xslo:value-of select="."/>
1057
        </z:index>
1058
      </xslo:if>
1059
    </xslo:for-each>
1060
  </xslo:template>
1061
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='797']">
1062
    <xslo:for-each select="marc:subfield">
1063
      <xslo:if test="contains('9', @code)">
1064
        <z:index name="Koha-Auth-Number:w">
1065
          <xslo:value-of select="."/>
1066
        </z:index>
1067
      </xslo:if>
1068
    </xslo:for-each>
1069
  </xslo:template>
1070
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='798']">
1071
    <xslo:for-each select="marc:subfield">
1072
      <xslo:if test="contains('9', @code)">
1073
        <z:index name="Koha-Auth-Number:w">
1074
          <xslo:value-of select="."/>
1075
        </z:index>
1076
      </xslo:if>
1077
    </xslo:for-each>
1078
  </xslo:template>
1079
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='799']">
1080
    <xslo:for-each select="marc:subfield">
1081
      <xslo:if test="contains('9', @code)">
1082
        <z:index name="Koha-Auth-Number:w">
1083
          <xslo:value-of select="."/>
1084
        </z:index>
1085
      </xslo:if>
1086
    </xslo:for-each>
1087
  </xslo:template>
998
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='800']">
1088
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='800']">
999
    <xslo:for-each select="marc:subfield">
1089
    <xslo:for-each select="marc:subfield">
1000
      <xslo:if test="contains('a', @code)">
1090
      <xslo:if test="contains('a', @code)">
Lines 1101-1106 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1101
      </xslo:if>
1191
      </xslo:if>
1102
    </xslo:for-each>
1192
    </xslo:for-each>
1103
  </xslo:template>
1193
  </xslo:template>
1194
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='896']">
1195
    <xslo:for-each select="marc:subfield">
1196
      <xslo:if test="contains('9', @code)">
1197
        <z:index name="Koha-Auth-Number:w">
1198
          <xslo:value-of select="."/>
1199
        </z:index>
1200
      </xslo:if>
1201
    </xslo:for-each>
1202
  </xslo:template>
1203
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='897']">
1204
    <xslo:for-each select="marc:subfield">
1205
      <xslo:if test="contains('9', @code)">
1206
        <z:index name="Koha-Auth-Number:w">
1207
          <xslo:value-of select="."/>
1208
        </z:index>
1209
      </xslo:if>
1210
    </xslo:for-each>
1211
  </xslo:template>
1212
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='898']">
1213
    <xslo:for-each select="marc:subfield">
1214
      <xslo:if test="contains('9', @code)">
1215
        <z:index name="Koha-Auth-Number:w">
1216
          <xslo:value-of select="."/>
1217
        </z:index>
1218
      </xslo:if>
1219
    </xslo:for-each>
1220
  </xslo:template>
1221
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='899']">
1222
    <xslo:for-each select="marc:subfield">
1223
      <xslo:if test="contains('9', @code)">
1224
        <z:index name="Koha-Auth-Number:w">
1225
          <xslo:value-of select="."/>
1226
        </z:index>
1227
      </xslo:if>
1228
    </xslo:for-each>
1229
  </xslo:template>
1104
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='999']">
1230
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='999']">
1105
    <xslo:for-each select="marc:subfield">
1231
    <xslo:for-each select="marc:subfield">
1106
      <xslo:if test="contains('c', @code)">
1232
      <xslo:if test="contains('c', @code)">
1107
- 

Return to bug 17788