[Koha-bugs] [Bug 8940] New: patron card export - without a batch, will work if...

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 11:51:20 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8940
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
          Assignee: koha-bugs at lists.koha-community.org
           Summary: patron card export - without a batch, will work if...
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: waqar.azeem at itcompletes.com
          Hardware: All
            Status: NEW
           Version: master
         Component: Patrons
           Product: Koha

This code seem to have a bug!

I didn't find any online browse-able code therefore a snip-it from
"create-pdf.pl" is here:

    grep {
        push(@{$items}, {item_number => $_});
    } @borrower_numbers;

'item_number' itself is not used anywhere. 'browser_number' is used to
retrieved this data.

foreach my $item (@{$items}) {
    if ($item) {
        my $borrower_number = $item->{'borrower_number'};

So, 'item_number' should be replaced with 'borrower_number'

URL to test:
http://your-testIP/cgi-bin/koha/patroncards/print.pl?borrower_number=19

-- 
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