Bug 13420: (QA follow-up): Fix typo itemdate -> itemdata
authorJosef Moravec <josef.moravec@gmail.com>
Wed, 5 Feb 2020 21:13:22 +0000 (21:13 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Feb 2020 12:36:17 +0000 (12:36 +0000)
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index cb6381f..05a6cb5 100644 (file)
                 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
                 <th>Call number</th>
                 [% IF volinfo %]
-                    [% IF itemdate_publisheddate #If there is at least one published date, use it for sorting%]
+                    [% IF itemdata_publisheddate #If there is at least one published date, use it for sorting%]
                         <th class="title-string">Serial enumeration / chronology</th>
                     [% ELSE %]
                         <th>Serial enumeration / chronology</th>
@@ -292,7 +292,7 @@ Note that permanent location is a code, and location may be an authval.
                     <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %]</td>
                     [% IF ( volinfo ) %]
                         <td class="enumchron">
-                            [% IF itemdate_publisheddate %]<span title="[% item.publisheddate | html %]">[% END %]
+                            [% IF itemdata_publisheddate %]<span title="[% item.publisheddate | html %]">[% END %]
                             [% IF ( itemdata_enumchron ) %]
                                 [% IF item.enumchron && item.serialseq %]
                                     <span class="enum">[% item.enumchron | html %]</span>