View | Details | Raw Unified | Return to bug 28859
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-7 / +2 lines)
Lines 56-61 Link Here
56
            <th>Checked out from</th>
56
            <th>Checked out from</th>
57
            [% IF Koha.Preference('RecordStaffUserOnCheckout') %]
57
            [% IF Koha.Preference('RecordStaffUserOnCheckout') %]
58
            <th>Checked out by</th>
58
            <th>Checked out by</th>
59
            [% ELSE %]
60
            <th class="NoVisible">Checked out by</th>
59
            [% END %]
61
            [% END %]
60
            <th>Renewed</th>
62
            <th>Renewed</th>
61
            <th>Checkout on</th>
63
            <th>Checkout on</th>
Lines 83-95 Link Here
83
                    [% ELSE %]
85
                    [% ELSE %]
84
                        &nbsp;
86
                        &nbsp;
85
                    [% END %]</td>
87
                    [% END %]</td>
86
                [% IF Koha.Preference('RecordStaffUserOnCheckout') %]
87
                <td>[% IF checkout.issuer_id %]
88
                <td>[% IF checkout.issuer_id %]
88
                    <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% checkout.issuer_id | uri %]">
89
                    <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% checkout.issuer_id | uri %]">
89
                    [% INCLUDE 'patron-title.inc' patron=checkout.issuer %]
90
                    [% INCLUDE 'patron-title.inc' patron=checkout.issuer %]
90
                    </a>
91
                    </a>
91
                    [% END %]</td>
92
                    [% END %]</td>
92
                [% END %]
93
                <td>[% IF checkout.renewals %]
93
                <td>[% IF checkout.renewals %]
94
                        Yes[% IF checkout.lastreneweddate %], <small>last on: [% checkout.lastreneweddate |$KohaDates  with_hours => 1 %]</small>
94
                        Yes[% IF checkout.lastreneweddate %], <small>last on: [% checkout.lastreneweddate |$KohaDates  with_hours => 1 %]</small>
95
                            [% END %]
95
                            [% END %]
Lines 138-148 Link Here
138
            [% END %]
138
            [% END %]
139
            var table = KohaTable("table_issues", {
139
            var table = KohaTable("table_issues", {
140
                "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
140
                "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
141
            [% IF Koha.Preference('RecordStaffUserOnCheckout') %]
142
                "aaSorting": [[ 5, "desc" ]],
141
                "aaSorting": [[ 5, "desc" ]],
143
            [% ELSE %]
144
                "aaSorting": [[ 4, "desc" ]],
145
            [% END %]
146
                "sPaginationType": "full_numbers"
142
                "sPaginationType": "full_numbers"
147
            }, columns_settings);
143
            }, columns_settings);
148
        });
144
        });
149
- 

Return to bug 28859