Bug 29170 - MARC21 Field 100$t is not display in the results page and record detail page
Summary: MARC21 Field 100$t is not display in the results page and record detail page
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 21.05
Hardware: All All
: P5 - low trivial (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-05 09:26 UTC by Marion Durand
Modified: 2021-10-05 09:26 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marion Durand 2021-10-05 09:26:13 UTC
In koha MARC21, the field 100$t is not displayed in the results page (neither in the detailed record page). 

In the code that display 700$t for the results page I found this:
(file: ./koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl)
    <!-- Display title portion for 100 and 700 fields -->
    <xsl:if test="@tag=700 and marc:subfield[@code='t']">
        ...

The comment clearly states that the next portion of code should display title for 700 and 100 fields (field 100$c which is displayed earlier, or field 100$t) but the code actually only display title for 700 field. (Field 700$t is correctly displayed.)

Should we add the code to display field 100$t or should we change the comment so it's more accurate with what the code do ?

To test:
1- Be sure to use koha MARC21
2- Find or create a record that have a field 100$t
3- Search the catalog for this record (be sure to hav at least two results)
4- See that field 100$t is not displayed
5- Click on your record to go to the detail page
6- See that field 100$t is not displayed