Bug 15668: (QA follow-up) Add date accessioned to column configuration
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 2 May 2020 01:31:30 +0000 (03:31 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 May 2020 08:44:43 +0000 (09:44 +0100)
The date accessioned column in the items table was not
configurable in the columns settings.

To test:
- Make sure the Date accessioned is shown in the column list
  on both tables
- Make sure that configuring it via Adminitration > Configure
  columns works as intended

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

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

index 027528b..a0eabb7 100644 (file)
@@ -271,6 +271,8 @@ modules:
         -
           columnname: holdings_lastseen
         -
+          columnname: holdings_dateaccessioned
+        -
           columnname: holdings_barcode
         -
           columnname: holdings_enumchron
@@ -321,6 +323,8 @@ modules:
         -
           columnname: otherholdings_lastseen
         -
+          columnname: otherholdings_dateaccessioned
+        -
           columnname: otherholdings_barcode
         -
           columnname: otherholdings_enumchron
index b5045ae..95af8c6 100644 (file)
                 [% END %]
                 <th id="[% tab | html %]_status" data-colname="[% tab | html %]_status">Status</th>
                 <th id="[% tab | html %]_lastseen" data-colname="[% tab | html %]_lastseen" class="title-string">Last seen</th>
-                <th id="[% tab | html %]_datesccessioned" date-colname="[% tab | html %]_datesccessioned" class="title-string">Date accessioned</th>
+                <th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned" class="title-string">Date accessioned</th>
                 <th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th>
                 [% IF ( itemdata_uri ) %]<th id="[% tab | html %]_uri" data-colname="[% tab | html %]_uri">URL</th>[% END %]
                 [% IF ( itemdata_copynumber ) %]<th id="[% tab | html %]_copynumber" data-colname="[% tab | html %]_copynumber">Copy number</th>[% END %]