[Koha-bugs] [Bug 3385] Add checkout date and renewal date to display list of checked out items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 6 19:22:52 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3385

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|master                      |rel_3_6
       Patch Status|Signed Off                  |Patch Pushed

--- Comment #8 from Paul Poulain <paul.poulain at biblibre.com> 2011-12-06 18:22:52 UTC ---
QA comment:

the following construct:
+    $item->{$_}                        = format_date( $item->{$_} ) foreach
qw/datelastborrowed dateaccessioned datelastseen lastreneweddate/;

is not PBP friendly.
It's recommended to write 
foreach {
    bla
}

perlcritic says it's a level 2 severity:
Postfix control "foreach" used at line 131, column 69.  See page 96 of PBP. 
(Severity: 2)

We want to be level 5, so passed QA

Patch pushed, please test

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list