Bug 14365 - SQL Reports Last Edit Date column - Show in interface

Test Plan:
1) Apply these patches
2) Modify a saved sql report
3) Note the "Last modified" column is updated
4) Run the report
5) Note the "Last run" column is updated

Signed-off-by: Cab Vinton <director@plaistowlibrary.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2017-02-07 15:55:30 +00:00
parent c2c3c11005
commit 63fec9c094
1 changed files with 5 additions and 1 deletions

View File

@ -95,7 +95,7 @@ $("#delColumn").on("click",function(){
{ "aTargets": [ 1, 2 ], "sType": "natural" }
],
"aoColumns": [
null,null,null,null,null,null,null,null,{ "sType": "title-string" },null,[% IF (usecache) %]null,[% END %]null,null
null,null,null,null,null,null,null,null,{ "sType": "title-string" },null,null,null,[% IF (usecache) %]null,[% END %]null,null
],
'oLanguage': {
'sZeroRecords': _("No matching reports found")
@ -329,6 +329,8 @@ canned reports and writing custom SQL reports.</p>
<th>Notes</th>
<th>Author</th>
<th>Creation date</th>
<th>Last modified</th>
<th>Last run</th>
<th>Public</th>
[% IF (usecache) %] <th>Cache expiry (seconds)</th> [% END %]
<th>Saved results</th>
@ -357,6 +359,8 @@ canned reports and writing custom SQL reports.</p>
<td>[% savedreport.notes %]</td>
<td>[% savedreport.borrowersurname %][% IF ( savedreport.borrowerfirstname ) %], [% savedreport.borrowerfirstname %][% END %] ([% savedreport.borrowernumber %])</td>
<td><span title="[% savedreport.date_created %]">[% savedreport.date_created | $KohaDates %]</span></td>
<td><span title="[% savedreport.last_modified %]">[% savedreport.last_modified | $KohaDates with_hours => 1 %]</span></td>
<td><span title="[% savedreport.last_run %]">[% savedreport.last_run | $KohaDates with_hours => 1 %]</span></td>
[% IF (savedreport.public) %]
<td>Yes</td>
[% ELSE %]