Bug 15668: (QA follow-up) Add date accessioned to column configuration

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>
This commit is contained in:
Katrin Fischer 2020-05-02 03:31:30 +02:00 committed by Martin Renvoize
parent 39d904e21d
commit 140079c807
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 5 additions and 1 deletions

View File

@ -270,6 +270,8 @@ modules:
columnname: holdings_status
-
columnname: holdings_lastseen
-
columnname: holdings_dateaccessioned
-
columnname: holdings_barcode
-
@ -320,6 +322,8 @@ modules:
columnname: otherholdings_status
-
columnname: otherholdings_lastseen
-
columnname: otherholdings_dateaccessioned
-
columnname: otherholdings_barcode
-

View File

@ -240,7 +240,7 @@
[% 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 %]