Bug ID: 17307
           Summary: Edit button in patron search page doesn't work without
                    a category code
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
        QA Contact:

Description of the problem:
The 'Edit' button in the patron search page doesn't work without a
category code in the URL.

[I've searched extensively and couldn't find this bug listed, so I'm
submitting it as new. Please note that it's different from:
Bug 4508 - can't edit patron attributes using little edit link, and
Bug 4427 - Can't edit patron additional attributes and identifiers.]

Steps to reproduce (in the current master 0254fd7):
Go to Home > Patrons, search for a patron, click on the 'Edit' button
(last column). You cannot edit the patron, and you get the following
Software error in the browser:
Can't call method "get_expiry_date" on an undefined value at
/home/aroussos/kohaclone/members/ line 375.

Notice how the URL is of the form:

If you follow a different route and click on the 'Edit' button above
the patron name in the patron Details page it works fine because the
URL is like this (notice the added '&categorycode=J' at the end):

You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to