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

index c06bad6..e66dba4 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,9 +142,9 @@ END; # FOREACH bib
                     ctx.get_crahp(copy_info.age_protect).name : l('None') | html %]
             </td>
             <td>[% 
-                IF copy_info.create_date;
+                IF copy_info.active_date;
                     date.format(
-                        ctx.parse_datetime(copy_info.create_date),
+                        ctx.parse_datetime(copy_info.active_date),
                         DATE_FORMAT
                     );
                 ELSE;