[Koha-bugs] [Bug 12269] New: Multiple definitions of adult borrower
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 16 07:57:04 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12269
Bug ID: 12269
Summary: Multiple definitions of adult borrower
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: pasi.kallinen at pttk.fi
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
rgrep adultborrower * | grep -v ^blib shows:
circ/circulation.pl: $template->param( adultborrower => 1 ) if (
$borrower->{'category_type'} eq 'A' );
members/boraccount.pl:$template->param( adultborrower => 1 ) if (
$data->{'category_type'} eq 'A' );
members/moremember.pl: ( $template->param( adultborrower => 1 ) ) if (
$category_type eq 'A' || $category_type eq 'I' );
members/printfeercpt.pl:$template->param( adultborrower => 1 ) if (
$data->{'category_type'} eq 'A' );
etc. in several more places.
There really should be a single function for this, or inconsistencies will
creep in - note the 'A' or 'I' in moremember!
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list