From bf1e6d45db29a3838fe07fa3675ebfa7c9c4a57a Mon Sep 17 00:00:00 2001 From: Thatcher Rea Date: Sat, 23 Mar 2013 10:51:15 +1300 Subject: [PATCH] Bug 9908 - Fixing OCLC Connexion Client Fix issue where exporting a bib from the OCLC Connexion client or web interface to a Koha database would always result in an "Unsuccessful request" error. To Test: [1] Apply patch [2] Start the Connexion import daemon. [3] Start the Connexion client or web interface (requires that you you posses OCLC cataloging credentials). [4] Locate a bib and use Connexion to export it to the Koha database. [5] Verify that the bib is successfully added. Signed-off-by: Galen Charlton Signed-off-by: Katrin Fischer All tests and QA script pass. Logical change and trusting sign off here as I don't have access to WorldCat for testing this. Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- svc/import_bib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/import_bib b/svc/import_bib index a029a58c84..9e56ba8e19 100755 --- a/svc/import_bib +++ b/svc/import_bib @@ -86,7 +86,7 @@ sub import_bib { my $matcher = C4::Matcher->new($params->{record_type} || 'biblio'); $matcher = C4::Matcher->fetch($params->{matcher_id}); - my $number_of_matches = BatchFindBibDuplicates($batch_id, $matcher); + my $number_of_matches = BatchFindDuplicates($batch_id, $matcher); # XXX we are ignoring the result of this; BatchCommitBibRecords($batch_id, $framework) if lc($import_mode) eq 'direct'; -- 2.39.5