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

(-)a/circ/overdue.pl (-2 / +1 lines)
Lines 294-303 if ($noreport) { Link Here
294
            my @displayvalues = map { $_->[1] } @{ $pattrs->{$pattr_filter->{code}} };   # grab second value from each subarray
294
            my @displayvalues = map { $_->[1] } @{ $pattrs->{$pattr_filter->{code}} };   # grab second value from each subarray
295
            push @patron_attr_value_loop, { value => join(', ', sort { lc $a cmp lc $b } @displayvalues) };
295
            push @patron_attr_value_loop, { value => join(', ', sort { lc $a cmp lc $b } @displayvalues) };
296
        }
296
        }
297
        my $dt = dt_from_string($data->{date_due}, 'sql');
298
297
299
        push @overduedata, {
298
        push @overduedata, {
300
            duedate                => output_pref($dt),
299
            duedate                => $data->{date_due},
301
            borrowernumber         => $data->{borrowernumber},
300
            borrowernumber         => $data->{borrowernumber},
302
            barcode                => $data->{barcode},
301
            barcode                => $data->{barcode},
303
            cardnumber             => $data->{cardnumber},
302
            cardnumber             => $data->{cardnumber},
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-4 / +7 lines)
Lines 64-70 Link Here
64
64
65
    $(document).ready(function(){
65
    $(document).ready(function(){
66
        $("#overduest").dataTable($.extend(true, {}, dataTablesDefaults, {
66
        $("#overduest").dataTable($.extend(true, {}, dataTablesDefaults, {
67
            "sPaginationType": "four_button"
67
            "sPaginationType": "four_button",
68
            "aaSorting": [[0, 'asc']],
69
            "aoColumnDefs": [
70
                { "sType": "title-string", "aTargets": [ "title-string" ] }
71
            ]
68
        }));
72
        }));
69
    });
73
    });
70
//]]>
74
//]]>
Lines 107-113 Link Here
107
    <table id="overduest">
111
    <table id="overduest">
108
      <thead>
112
      <thead>
109
        <tr>
113
        <tr>
110
          <th>Due date</th>
114
          <th class="title-string">Due date</th>
111
          <th>Patron</th>
115
          <th>Patron</th>
112
          <th>Library</th>
116
          <th>Library</th>
113
          <th>Title</th>
117
          <th>Title</th>
Lines 120-126 Link Here
120
      <tbody>
124
      <tbody>
121
      [% FOREACH overdueloo IN overdueloop %]
125
      [% FOREACH overdueloo IN overdueloop %]
122
        <tr>
126
        <tr>
123
          <td>[% overdueloo.duedate %]</td>
127
          <td><span title="[% overdueloo.duedate %]">[% overdueloo.duedate | $KohaDates %]</span></td>
124
          <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overdueloo.borrowernumber %]">[% overdueloo.surname %][% IF (overdueloo.firstname) %], [% overdueloo.firstname %][% END %] ([% overdueloo.cardnumber %])</a>
128
          <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overdueloo.borrowernumber %]">[% overdueloo.surname %][% IF (overdueloo.firstname) %], [% overdueloo.firstname %][% END %] ([% overdueloo.cardnumber %])</a>
125
          [% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email %]?subject=[% INCLUDE subject %] [% overdueloo.title |html %]">email</a>][% END %]
129
          [% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email %]?subject=[% INCLUDE subject %] [% overdueloo.title |html %]">email</a>][% END %]
126
          [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %]</td>
130
          [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %]</td>
127
- 

Return to bug 19438