[Koha-bugs] [Bug 5724] Sometimes deletes aren't processed correctly by rebuild zebra

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 16 14:28:48 CET 2011


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

Fridolyn SOMERS <fridolyn.somers at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolyn.somers at gmail.com

--- Comment #4 from Fridolyn SOMERS <fridolyn.somers at gmail.com> 2011-02-16 13:28:46 UTC ---
(In reply to comment #1)
> Created attachment 3104 [details]
> Proposed Patch

When adding UNION : 

    my $fetch_sth = $dbh->prepare_cached("SELECT marc FROM biblioitems WHERE
biblionumber = ? UNION SELECT marc from deletedbiblioitems where
biblionumber=?");
    $fetch_sth->execute($record_number);

Shouldn't you add the parameter in execution of the query :
    $fetch_sth->execute($record_number, $record_number);

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list