LP#1423025: Display active date instead of create date in holdings grid user/jeffdavis/lp1423025-active-date-in-holdings-grid
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 18 Feb 2015 01:05:23 +0000 (17:05 -0800)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 18 Feb 2015 01:05:23 +0000 (17:05 -0800)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2

index 033ac5b..181e34c 100644 (file)
@@ -42,7 +42,7 @@ END;
             <th scope='col'>[% l("Shelving Location") %]</th>
             [%- IF ctx.is_staff %]
             <th scope='col'>[% l("Age Hold Protection") %]</th>
-            <th scope='col'>[% l("Create Date") %]</th>
+            <th scope='col'>[% l("Active Date") %]</th>
             [%- END %]
             [%- IF ctx.is_staff OR serial_holdings %]
             <th scope='col'>[% l("Holdable?") %]</th>
@@ -142,7 +142,7 @@ END; # FOREACH bib
                     ctx.get_crahp(copy_info.age_protect).name : l('None') | html %]
             </td>
             <td>[% date.format(
-                ctx.parse_datetime(copy_info.create_date),
+                ctx.parse_datetime(copy_info.active_date),
                 DATE_FORMAT
             ) %]</td>
             [% END # is_staff %]