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

(-)a/C4/Search.pm (+3 lines)
Lines 1198-1203 sub getIndexes{ Link Here
1198
                    'popularity',
1198
                    'popularity',
1199
                    'pubdate',
1199
                    'pubdate',
1200
                    'Publisher',
1200
                    'Publisher',
1201
                    'Provider',
1202
                    'Provider-place',
1203
                    'Provider-date',
1201
                    'Record-control-number',
1204
                    'Record-control-number',
1202
                    'rcn',
1205
                    'rcn',
1203
                    'Record-type',
1206
                    'Record-type',
(-)a/etc/zebradb/biblios/etc/bib1.att (+4 lines)
Lines 205-210 att 1221 Subject-occupation Link Here
205
att 1222    Subject-function
205
att 1222    Subject-function
206
att 1223    Edition
206
att 1223    Edition
207
att 1224    GPO-Item-Number
207
att 1224    GPO-Item-Number
208
att 1225    Provider
208
209
209
# Koha Local-Use Biblio Indexes
210
# Koha Local-Use Biblio Indexes
210
att 9001    Control-number
211
att 9001    Control-number
Lines 219-224 att 9009 cn-prefix Link Here
219
att 9010    cn-suffix
220
att 9010    cn-suffix
220
att 9011    Suppress
221
att 9011    Suppress
221
att 9012    Identifier-other
222
att 9012    Identifier-other
223
#att 9013    arp
224
att 9014    Provider-place
225
att 9015    Provider-date
222
226
223
# Items Index
227
# Items Index
224
att 8001    withdrawn
228
att 8001    withdrawn
(-)a/etc/zebradb/ccl.properties (+9 lines)
Lines 578-583 Personal-name-seealso 1=Personal-name-seealso Link Here
578
Publisher 1=1018
578
Publisher 1=1018
579
pb Publisher
579
pb Publisher
580
580
581
#Provider             1225  A generic, single index         257$a2
582
#                           combining place, publisher,     260$abcdefg3
583
#                           and date. To avoid searching    264$abc3
584
#                           multiple indexes for            270$abcd
585
#                           publication/production info.
586
Provider 1=1225
587
Provider-place 1=9014
588
Provider-date 1=9015
589
581
#Note                   63  A concise statement in which    5XX
590
#Note                   63  A concise statement in which    5XX
582
#                           such information as extended
591
#                           such information as extended
583
#                           physical description,
592
#                           physical description,
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml (+47 lines)
Lines 431-436 Link Here
431
  <index_data_field tag="260">
431
  <index_data_field tag="260">
432
    <target_index>pl:w</target_index>
432
    <target_index>pl:w</target_index>
433
  </index_data_field>
433
  </index_data_field>
434
  <!--Index for Provider 260-->
435
  <index_subfields tag="260" subfields="a">
436
    <target_index>Provider-place:w</target_index>
437
    <target_index>Provider-place:p</target_index>
438
  </index_subfields>
439
  <index_subfields tag="260" subfields="b">
440
    <target_index>Provider:w</target_index>
441
    <target_index>Provider:p</target_index>
442
  </index_subfields>
443
  <index_subfields tag="260" subfields="c">
444
    <target_index>Provider-date:w</target_index>
445
    <target_index>Provider-date:s</target_index>
446
  </index_subfields>
447
  <index_data_field tag="260">
448
    <target_index>Provider:w</target_index>
449
  </index_data_field>
450
  <!--Index for RDA 264-->
451
  <index_subfields tag="264" subfields="a">
452
    <target_index>pl:w</target_index>
453
    <target_index>pl:p</target_index>
454
  </index_subfields>
455
  <index_subfields tag="264" subfields="b">
456
    <target_index>Publisher:w</target_index>
457
    <target_index>Publisher:p</target_index>
458
  </index_subfields>
459
  <index_subfields tag="264" subfields="c">
460
    <target_index>copydate:w</target_index>
461
    <target_index>copydate:s</target_index>
462
  </index_subfields>
463
  <index_data_field tag="264">
464
    <target_index>pl:w</target_index>
465
  </index_data_field>
466
  <index_subfields tag="264" subfields="a">
467
    <target_index>Provider-place:w</target_index>
468
    <target_index>Provider-place:p</target_index>
469
  </index_subfields>
470
  <index_subfields tag="264" subfields="b">
471
    <target_index>Provider:w</target_index>
472
    <target_index>Provider:p</target_index>
473
  </index_subfields>
474
  <index_subfields tag="264" subfields="c">
475
    <target_index>Provider-date:w</target_index>
476
    <target_index>Provider-date:s</target_index>
477
  </index_subfields>
478
  <index_data_field tag="264">
479
    <target_index>Provider:w</target_index>
480
  </index_data_field>
434
  <!--record.abs line 123: melm 300        Extent:w,Extent:p-->
481
  <!--record.abs line 123: melm 300        Extent:w,Extent:p-->
435
  <index_data_field tag="300">
482
  <index_data_field tag="300">
436
    <target_index>Extent:w</target_index>
483
    <target_index>Extent:w</target_index>
(-)a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl (+100 lines)
Lines 339-344 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
339
        </z:index>
339
        </z:index>
340
      </xslo:if>
340
      </xslo:if>
341
    </xslo:for-each>
341
    </xslo:for-each>
342
    <xslo:for-each select="marc:subfield">
343
      <xslo:if test="contains('a', @code)">
344
        <z:index name="Provider-place:w Provider-place:p">
345
          <xslo:value-of select="."/>
346
        </z:index>
347
      </xslo:if>
348
    </xslo:for-each>
349
    <xslo:for-each select="marc:subfield">
350
      <xslo:if test="contains('b', @code)">
351
        <z:index name="Provider:w Provider:p">
352
          <xslo:value-of select="."/>
353
        </z:index>
354
      </xslo:if>
355
    </xslo:for-each>
356
    <xslo:for-each select="marc:subfield">
357
      <xslo:if test="contains('c', @code)">
358
        <z:index name="Provider-date:w Provider-date:s">
359
          <xslo:value-of select="."/>
360
        </z:index>
361
      </xslo:if>
362
    </xslo:for-each>
363
  </xslo:template>
364
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='264']">
365
    <xslo:for-each select="marc:subfield">
366
      <xslo:if test="contains('a', @code)">
367
        <z:index name="pl:w pl:p">
368
          <xslo:value-of select="."/>
369
        </z:index>
370
      </xslo:if>
371
    </xslo:for-each>
372
    <xslo:for-each select="marc:subfield">
373
      <xslo:if test="contains('b', @code)">
374
        <z:index name="Publisher:w Publisher:p">
375
          <xslo:value-of select="."/>
376
        </z:index>
377
      </xslo:if>
378
    </xslo:for-each>
379
    <xslo:for-each select="marc:subfield">
380
      <xslo:if test="contains('c', @code)">
381
        <z:index name="copydate:w copydate:s">
382
          <xslo:value-of select="."/>
383
        </z:index>
384
      </xslo:if>
385
    </xslo:for-each>
386
    <xslo:for-each select="marc:subfield">
387
      <xslo:if test="contains('a', @code)">
388
        <z:index name="Provider-place:w Provider-place:p">
389
          <xslo:value-of select="."/>
390
        </z:index>
391
      </xslo:if>
392
    </xslo:for-each>
393
    <xslo:for-each select="marc:subfield">
394
      <xslo:if test="contains('b', @code)">
395
        <z:index name="Provider:w Provider:p">
396
          <xslo:value-of select="."/>
397
        </z:index>
398
      </xslo:if>
399
    </xslo:for-each>
400
    <xslo:for-each select="marc:subfield">
401
      <xslo:if test="contains('c', @code)">
402
        <z:index name="Provider-date:w Provider-date:s">
403
          <xslo:value-of select="."/>
404
        </z:index>
405
      </xslo:if>
406
    </xslo:for-each>
342
  </xslo:template>
407
  </xslo:template>
343
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='400']">
408
  <xslo:template mode="index_subfields" match="marc:datafield[@tag='400']">
344
    <xslo:for-each select="marc:subfield">
409
    <xslo:for-each select="marc:subfield">
Lines 1851-1856 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) Link Here
1851
      </xslo:variable>
1916
      </xslo:variable>
1852
      <xslo:value-of select="normalize-space($raw_heading)"/>
1917
      <xslo:value-of select="normalize-space($raw_heading)"/>
1853
    </z:index>
1918
    </z:index>
1919
    <z:index name="Provider:w">
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='264']">
1932
    <z:index name="pl:w">
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
    <z:index name="Provider:w">
1944
      <xslo:variable name="raw_heading">
1945
        <xslo:for-each select="marc:subfield">
1946
          <xslo:if test="position() &gt; 1">
1947
            <xslo:value-of select="substring(' ', 1, 1)"/>
1948
          </xslo:if>
1949
          <xslo:value-of select="."/>
1950
        </xslo:for-each>
1951
      </xslo:variable>
1952
      <xslo:value-of select="normalize-space($raw_heading)"/>
1953
    </z:index>
1854
  </xslo:template>
1954
  </xslo:template>
1855
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='300']">
1955
  <xslo:template mode="index_data_field" match="marc:datafield[@tag='300']">
1856
    <z:index name="Extent:w Extent:p">
1956
    <z:index name="Extent:w Extent:p">
(-)a/etc/zebradb/marc_defs/marc21/biblios/record.abs (+12 lines)
Lines 129-134 melm 260$a pl:w,pl:p Link Here
129
melm 260$b      Publisher:w,Publisher:p
129
melm 260$b      Publisher:w,Publisher:p
130
melm 260$c      copydate,copydate:s
130
melm 260$c      copydate,copydate:s
131
melm 260        pl
131
melm 260        pl
132
melm 260$a      Provider-place:w,Provider-place:p
133
melm 260$b      Provider:w,Provider:p
134
melm 260$c      Provider-date,Provider-date:s
135
melm 260        Provider
136
melm 264$a      pl:w,pl:p
137
melm 264$b      Publisher:w,Publisher:p
138
melm 264$c      copydate,copydate:s
139
melm 264        pl
140
melm 264$a      Provider-place:w,Provider-place:p
141
melm 264$b      Provider:w,Provider:p
142
melm 264$c      Provider-date,Provider-date:s
143
melm 264        Provider
132
melm 300        Extent:w,Extent:p
144
melm 300        Extent:w,Extent:p
133
melm 400$a      Name-and-title
145
melm 400$a      Name-and-title
134
melm 400$t      Author-title,Name-and-title,Title,Title-series
146
melm 400$t      Author-title,Name-and-title,Title,Title-series
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-1 / +3 lines)
Lines 338-344 Link Here
338
        </xsl:when>
338
        </xsl:when>
339
        <xsl:when test="marc:datafield[@tag=264]">
339
        <xsl:when test="marc:datafield[@tag=264]">
340
            <span class="results_summary">
340
            <span class="results_summary">
341
                <xsl:call-template name="showRDAtag264"/>
341
            <xsl:call-template name="showRDAtag264">
342
                <xsl:with-param name="show_url">1</xsl:with-param>
343
            </xsl:call-template>
342
            </span>
344
            </span>
343
        </xsl:when>
345
        </xsl:when>
344
        </xsl:choose>
346
        </xsl:choose>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl (-1 / +3 lines)
Lines 780-786 Link Here
780
    </xsl:when>
780
    </xsl:when>
781
    <xsl:when test="marc:datafield[@tag=264]">
781
    <xsl:when test="marc:datafield[@tag=264]">
782
        <span class="results_summary">
782
        <span class="results_summary">
783
            <xsl:call-template name="showRDAtag264"/>
783
            <xsl:call-template name="showRDAtag264">
784
                <xsl:with-param name="show_url">0</xsl:with-param>
785
            </xsl:call-template>
784
        </span>
786
        </span>
785
    </xsl:when>
787
    </xsl:when>
786
    </xsl:choose>
788
    </xsl:choose>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-1 / +16 lines)
Lines 217-222 Link Here
217
         Publisher-latest or Publisher or 'Other'-latest or 'Other'
217
         Publisher-latest or Publisher or 'Other'-latest or 'Other'
218
         The preferred tag is saved in the fav variable and passed to a
218
         The preferred tag is saved in the fav variable and passed to a
219
         helper named-template -->
219
         helper named-template -->
220
        <xsl:param name="show_url"/>
220
        <xsl:choose>
221
        <xsl:choose>
221
            <xsl:when test="marc:datafield[@tag=264 and @ind1=3 and @ind2=1]">
222
            <xsl:when test="marc:datafield[@tag=264 and @ind1=3 and @ind2=1]">
222
            <!-- ind1==3 means latest change -->
223
            <!-- ind1==3 means latest change -->
Lines 224-229 Link Here
224
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3 and @ind2=1][1]"/>
225
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3 and @ind2=1][1]"/>
225
              <xsl:call-template name="showRDAtag264helper">
226
              <xsl:call-template name="showRDAtag264helper">
226
                <xsl:with-param name="field" select="$fav"/>
227
                <xsl:with-param name="field" select="$fav"/>
228
                <xsl:with-param name="url" select="$show_url"/>
227
              </xsl:call-template>
229
              </xsl:call-template>
228
            </xsl:when>
230
            </xsl:when>
229
231
Lines 231-236 Link Here
231
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind2=1][last()]"/>
233
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind2=1][last()]"/>
232
              <xsl:call-template name="showRDAtag264helper">
234
              <xsl:call-template name="showRDAtag264helper">
233
                <xsl:with-param name="field" select="$fav"/>
235
                <xsl:with-param name="field" select="$fav"/>
236
                <xsl:with-param name="url" select="$show_url"/>
234
              </xsl:call-template>
237
              </xsl:call-template>
235
            </xsl:when>
238
            </xsl:when>
236
239
Lines 238-243 Link Here
238
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3][1]"/>
241
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3][1]"/>
239
              <xsl:call-template name="showRDAtag264helper">
242
              <xsl:call-template name="showRDAtag264helper">
240
                <xsl:with-param name="field" select="$fav"/>
243
                <xsl:with-param name="field" select="$fav"/>
244
                <xsl:with-param name="url" select="$show_url"/>
241
              </xsl:call-template>
245
              </xsl:call-template>
242
            </xsl:when>
246
            </xsl:when>
243
247
Lines 245-256 Link Here
245
              <xsl:variable name="fav" select="marc:datafield[@tag=264][last()]"/>
249
              <xsl:variable name="fav" select="marc:datafield[@tag=264][last()]"/>
246
              <xsl:call-template name="showRDAtag264helper">
250
              <xsl:call-template name="showRDAtag264helper">
247
                <xsl:with-param name="field" select="$fav"/>
251
                <xsl:with-param name="field" select="$fav"/>
252
                <xsl:with-param name="url" select="$show_url"/>
248
              </xsl:call-template>
253
              </xsl:call-template>
249
            </xsl:otherwise>
254
            </xsl:otherwise>
250
        </xsl:choose>
255
        </xsl:choose>
251
    </xsl:template>
256
    </xsl:template>
252
    <xsl:template name="showRDAtag264helper">
257
    <xsl:template name="showRDAtag264helper">
253
        <xsl:param name="field"/>
258
        <xsl:param name="field"/>
259
        <xsl:param name="url"/>
254
        <xsl:variable name="ind2" select="$field/@ind2"/>
260
        <xsl:variable name="ind2" select="$field/@ind2"/>
255
        <xsl:choose>
261
        <xsl:choose>
256
            <xsl:when test="$ind2='0'">
262
            <xsl:when test="$ind2='0'">
Lines 268-274 Link Here
268
        </xsl:choose>
274
        </xsl:choose>
269
        <xsl:value-of select="$field/marc:subfield[@code='a']"/>
275
        <xsl:value-of select="$field/marc:subfield[@code='a']"/>
270
        <xsl:text> </xsl:text>
276
        <xsl:text> </xsl:text>
271
        <xsl:value-of select="$field/marc:subfield[@code='b']"/>
277
        <xsl:choose>
278
            <xsl:when test="$url='1'">
279
                <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:{$field/marc:subfield[@code='b']}">
280
                    <xsl:value-of select="$field/marc:subfield[@code='b']"/>
281
                </a>
282
            </xsl:when>
283
            <xsl:otherwise>
284
                <xsl:value-of select="$field/marc:subfield[@code='b']"/>
285
            </xsl:otherwise>
286
        </xsl:choose>
272
        <xsl:text> </xsl:text>
287
        <xsl:text> </xsl:text>
273
        <xsl:value-of select="$field/marc:subfield[@code='c']"/>
288
        <xsl:value-of select="$field/marc:subfield[@code='c']"/>
274
    </xsl:template>
289
    </xsl:template>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-1 / +3 lines)
Lines 374-380 Link Here
374
        </xsl:when>
374
        </xsl:when>
375
        <xsl:when test="marc:datafield[@tag=264]">
375
        <xsl:when test="marc:datafield[@tag=264]">
376
            <span class="results_summary">
376
            <span class="results_summary">
377
                <xsl:call-template name="showRDAtag264"/>
377
            <xsl:call-template name="showRDAtag264">
378
                <xsl:with-param name="show_url">1</xsl:with-param>
379
            </xsl:call-template>
378
            </span>
380
            </span>
379
        </xsl:when>
381
        </xsl:when>
380
        </xsl:choose>
382
        </xsl:choose>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl (-1 / +3 lines)
Lines 939-945 Link Here
939
        </xsl:when>
939
        </xsl:when>
940
        <xsl:when test="marc:datafield[@tag=264]">
940
        <xsl:when test="marc:datafield[@tag=264]">
941
            <span class="results_summary">
941
            <span class="results_summary">
942
                <xsl:call-template name="showRDAtag264"/>
942
            <xsl:call-template name="showRDAtag264">
943
                <xsl:with-param name="show_url">0</xsl:with-param>
944
            </xsl:call-template>
943
            </span>
945
            </span>
944
        </xsl:when>
946
        </xsl:when>
945
    </xsl:choose>
947
    </xsl:choose>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-2 / +16 lines)
Lines 215-220 Link Here
215
         Publisher-latest or Publisher or 'Other'-latest or 'Other'
215
         Publisher-latest or Publisher or 'Other'-latest or 'Other'
216
         The preferred tag is saved in the fav variable and passed to a
216
         The preferred tag is saved in the fav variable and passed to a
217
         helper named-template -->
217
         helper named-template -->
218
        <xsl:param name="show_url"/>
218
        <xsl:choose>
219
        <xsl:choose>
219
            <xsl:when test="marc:datafield[@tag=264 and @ind1=3 and @ind2=1]">
220
            <xsl:when test="marc:datafield[@tag=264 and @ind1=3 and @ind2=1]">
220
            <!-- ind1==3 means latest change -->
221
            <!-- ind1==3 means latest change -->
Lines 222-227 Link Here
222
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3 and @ind2=1][1]"/>
223
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3 and @ind2=1][1]"/>
223
              <xsl:call-template name="showRDAtag264helper">
224
              <xsl:call-template name="showRDAtag264helper">
224
                <xsl:with-param name="field" select="$fav"/>
225
                <xsl:with-param name="field" select="$fav"/>
226
                <xsl:with-param name="url" select="$show_url"/>
225
              </xsl:call-template>
227
              </xsl:call-template>
226
            </xsl:when>
228
            </xsl:when>
227
229
Lines 229-234 Link Here
229
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind2=1][last()]"/>
231
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind2=1][last()]"/>
230
              <xsl:call-template name="showRDAtag264helper">
232
              <xsl:call-template name="showRDAtag264helper">
231
                <xsl:with-param name="field" select="$fav"/>
233
                <xsl:with-param name="field" select="$fav"/>
234
                <xsl:with-param name="url" select="$show_url"/>
232
              </xsl:call-template>
235
              </xsl:call-template>
233
            </xsl:when>
236
            </xsl:when>
234
237
Lines 236-241 Link Here
236
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3][1]"/>
239
              <xsl:variable name="fav" select="marc:datafield[@tag=264 and @ind1=3][1]"/>
237
              <xsl:call-template name="showRDAtag264helper">
240
              <xsl:call-template name="showRDAtag264helper">
238
                <xsl:with-param name="field" select="$fav"/>
241
                <xsl:with-param name="field" select="$fav"/>
242
                <xsl:with-param name="url" select="$show_url"/>
239
              </xsl:call-template>
243
              </xsl:call-template>
240
            </xsl:when>
244
            </xsl:when>
241
245
Lines 243-254 Link Here
243
              <xsl:variable name="fav" select="marc:datafield[@tag=264][last()]"/>
247
              <xsl:variable name="fav" select="marc:datafield[@tag=264][last()]"/>
244
              <xsl:call-template name="showRDAtag264helper">
248
              <xsl:call-template name="showRDAtag264helper">
245
                <xsl:with-param name="field" select="$fav"/>
249
                <xsl:with-param name="field" select="$fav"/>
250
                <xsl:with-param name="url" select="$show_url"/>
246
              </xsl:call-template>
251
              </xsl:call-template>
247
            </xsl:otherwise>
252
            </xsl:otherwise>
248
        </xsl:choose>
253
        </xsl:choose>
249
    </xsl:template>
254
    </xsl:template>
250
    <xsl:template name="showRDAtag264helper">
255
    <xsl:template name="showRDAtag264helper">
251
        <xsl:param name="field"/>
256
        <xsl:param name="field"/>
257
        <xsl:param name="url"/>
252
        <xsl:variable name="ind2" select="$field/@ind2"/>
258
        <xsl:variable name="ind2" select="$field/@ind2"/>
253
        <xsl:choose>
259
        <xsl:choose>
254
            <xsl:when test="$ind2='0'">
260
            <xsl:when test="$ind2='0'">
Lines 266-272 Link Here
266
        </xsl:choose>
272
        </xsl:choose>
267
        <xsl:value-of select="$field/marc:subfield[@code='a']"/>
273
        <xsl:value-of select="$field/marc:subfield[@code='a']"/>
268
        <xsl:text> </xsl:text>
274
        <xsl:text> </xsl:text>
269
        <xsl:value-of select="$field/marc:subfield[@code='b']"/>
275
        <xsl:choose>
276
            <xsl:when test="$url='1'">
277
                <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:{$field/marc:subfield[@code='b']}">
278
                    <xsl:value-of select="$field/marc:subfield[@code='b']"/>
279
                </a>
280
            </xsl:when>
281
            <xsl:otherwise>
282
                <xsl:value-of select="$field/marc:subfield[@code='b']"/>
283
            </xsl:otherwise>
284
        </xsl:choose>
270
        <xsl:text> </xsl:text>
285
        <xsl:text> </xsl:text>
271
        <xsl:value-of select="$field/marc:subfield[@code='c']"/>
286
        <xsl:value-of select="$field/marc:subfield[@code='c']"/>
272
    </xsl:template>
287
    </xsl:template>
273
- 

Return to bug 14198