[Bug 3794] New: Receive Order shows multiple items if a title contains ordernumber
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3794 Summary: Receive Order shows multiple items if a title contains ordernumber Product: Koha Version: rel_3_0 Platform: PC OS/Version: All Status: NEW Severity: minor Priority: P5 Component: Acquisitions AssignedTo: rch@liblime.com ReportedBy: m.de.rooy@rijksmuseum.nl Estimated Hours: 0.0 Change sponsored?: --- The query in SearchOrder (Acquisitions.pm) should select only one record if the ordernumber is passed. But it also selects records with "title LIKE %id%". If another ordered title contains that order number, it is also listed by orderreceive.pl. As a result, it is not possible to enter a receipt for the intended item. The where clause in the SearchOrder routine should be adjusted to reflect that the call by orderreceive explicitly refers to one order number only. -- 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.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3794 --- Comment #1 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2009-11-19 11:36:14 --- Comments on "it is not possible to enter a receipt": This is not completely true. You can click on the first item, but it takes you to the second item of the list. If you click on the second item, you get a trapped fatal error. I will file another bug for this problem. -- 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.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3794 --- Comment #2 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2010-02-25 09:12:32 --- The following small change in the line initializing @data array helped us to only select the appropriate record and not the others with the order number in the title. my @data = $search=~/^\d{1,9}$/? ('z'x50): split( ' ', $search ); #MR #zx50 just a tric to not find title but not harm code below.. -- 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.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3794 Christopher Curry <ccurry@amphilsoc.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ccurry@amphilsoc.org --- Comment #3 from Christopher Curry <ccurry@amphilsoc.org> 2010-03-11 22:06:30 --- I tested out M. de Rooy's fix for this bug (on 3.00.5.003) and it seems to fix the problem. Has anyone else had a look at this problem who can confirm that this is a recommended fix? -- 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.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3794 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rch@liblime.com |henridamien@koha-fr.org -- 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.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3794 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent Platform|PC |All -- 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.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3794 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gmcharlt@gmail.com --- Comment #4 from Galen Charlton <gmcharlt@gmail.com> 2010-05-17 13:58:17 --- The patch is 3.0.x-specific, and at first glance so is the bug. Can somebody confirm whether this is or is not an issue in HEAD? -- 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.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com