[Koha-bugs] [Bug 9383] Bad logic, missing params, and irregular labeling for Members scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 6 23:51:01 CET 2013


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

--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
(In reply to comment #5)
> What does this change to memberentry
> 
> +    "$category_type"  => 1, #passes category type (e.g. C, A, S, P, I, X)
> to template like in moremember.pl do?

That looks like a bit of a typo. It should say to templates like moremember.tt,
moremember-brief.tt, or memberentrygen.tt

As for what it does, it passes the patron's category type (in the case of an
organization: I, in the case of a professional: P) to the template to determine
which phone/email labels to apply. 

For memberentrygen.tt: 

If I, "Organization Phone:" (phone) and "Organization Email:" (email), and no
emailpro, no mobile phone, no phonepro

If P, "Primary Phone" (phone), "Secondary Phone" (phonepro), "Primary Email"
(email), "Secondary Email" (emailpro), and no mobile phone

All other category types get the default labels (which are also mapped
consistently over to the moremember.tt templates).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list