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

(-)a/Koha/REST/V1/Illrequests.pm (-5 / +4 lines)
Lines 60-70 sub list { Link Here
60
60
61
    # Create new "formatted" columns for each date column
61
    # Create new "formatted" columns for each date column
62
    # that needs formatting
62
    # that needs formatting
63
    foreach(@requests) {
63
    foreach $req(@requests) {
64
        foreach my $field(@format_dates) {
64
        foreach my $field(@format_dates) {
65
            if (defined $_->{$field}) {
65
            if (defined $req->{$field}) {
66
                $_->{$field . "_formatted"} = format_sqldatetime(
66
                $req->{$field . "_formatted"} = format_sqldatetime(
67
                    $_->{$field},
67
                    $req->{$field},
68
                    undef,
68
                    undef,
69
                    undef,
69
                    undef,
70
                    1
70
                    1
71
- 

Return to bug 20600