[Koha-bugs] [Bug 3794] Receive Order shows multiple items if a title contains ordernumber

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Thu Feb 25 10:12:32 CET 2010


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





--- Comment #2 from M. de Rooy <m.de.rooy at 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.



More information about the Koha-bugs mailing list