[Koha-bugs] [Bug 7839] Enhancement: Show routing lists attached to patron in Patron record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 28 14:10:56 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7839
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
CC| |paul.poulain at biblibre.com
QA Contact|koha.sekjal at gmail.com |paul.poulain at biblibre.com
--- Comment #10 from Paul Poulain <paul.poulain at biblibre.com> ---
QA comments:
1 the sub "get" in "getAttachedSubscriptions" is improperly spelled. It should
be GetAttachedSubscriptions
2 the sub name is wrong I think:
- Get...Subscriptions let think it returns a list of subscriptions, that's
the case, that's OK
- the "Attached" keyword is related to nothing. And there is no reference
to the borrowernumber or routinglist thing.
This sub should have another name. Something like
GetSubscriptionsFromRoutinglistSubscriber or GetSubscriptionsFromBorrower
3 the
+ JOIN subscriptionroutinglist ON subscriptionroutinglist.subscriptionid =
subscription.subscriptionid
could be written
+ JOIN subscriptionroutinglist ON USING(subscriptionid)
(not requested for passed QA status, but shorter and should be used as much as
possible in the code)
4 the new script and C4/Serials.pm passes perlcritic
5 prove xt/author/translatable-templates.t xt/author/valid-templates.t is OK
as well
Please provide a follow-up or an updated fix for point 1, 2 and optionnally 3
to earn passed QA status (and be the 183th committer to join the list of Koha
committers ;-) )
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list