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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8940
                CC: [email protected], [email protected]
          Assignee: [email protected]
           Summary: patron card export - without a batch, will work if...
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to