[Koha-bugs] [Bug 5013] New: "New patron" menu button broken on circulation patron select screen

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 15 18:18:56 CEST 2010


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

           Summary: "New patron" menu button broken on circulation patron
                    select screen
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: Circulation
        AssignedTo: kyle.m.hall at gmail.com
        ReportedBy: oleonard at myacpl.org
         QAContact: koha-bugs at lists.koha-community.org
                CC: gmcharlt at gmail.com
   Estimated Hours: 0.0


If type a patron name into the "check out" form and come to the page where you
can choose from a list of existing patrons, there is a "New" menu button which
is supposed to offer a drop-down list of patron categories. This button is
broken, displaying no menu at all.

The markup for the button comes from patron-toolbar.inc which is also used on
members-home.pl. The button on members-home.pl works fine.

In the template is a loop for displaying the categories:

<!--TMPL_LOOP Name="categoryloop"-->
{ text: "<!--TMPL_VAR Name="description"-->",  url:
"/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=<!--TMPL_VAR
Name="categorycode"-->" },
<!--/TMPL_LOOP-->

members-home.pl contains code to build this loop variable:

my @categories=C4::Category->all;
$template->param(
    branchloop=>(defined $branch?GetBranchesLoop($branch):GetBranchesLoop()),
    categoryloop=>\@categories,
);

There is no mention of "categoryloop" in circulation.pl

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list