[Koha-bugs] [Bug 3795] New: Incorrect title URL in Receive Order table for multiple items

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Thu Nov 19 13:37:37 CET 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3795

           Summary: Incorrect title URL in Receive Order table for multiple
                    items
           Product: Koha
           Version: rel_3_0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Acquisitions
        AssignedTo: rch at liblime.com
        ReportedBy: m.de.rooy at rijksmuseum.nl
   Estimated Hours: 0.0
 Change sponsored?: ---


This bug is a continuation of bug 3794! 

If Receive Orders (orderreceive.pl) shows multiple items, clicking on the first
row of the table takes you to the data of the second row. Selecting the last
row produces a fatal error.

Further analysis reveals that the orderreceive template does not produce a
correct URL for multiple items. The main reason for the above error is the fact
that it generates a biblio parameter instead of the correct biblionumber
parameter in the title URL. This makes SearchOrder in Acquisitions.pm not find
the correct record with the passed order number. For the first record, it only
finds the second record that contains the order number in the title. For the
second record, it finds nothing resulting in a fatal error.

The orderreceive template must be adjusted for the biblionumber parameter (line
152). After that, clicking on the first row does not yet work (bug 3794). But
the second link works now. After receiving the second title, it will be
possible to receive the first one. 

The script orderreceive.pl should formally be corrected to also handle the
situation of zero records.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list