[Koha-bugs] [Bug 26791] Build Mojolicious controller replacement for export.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 23 09:42:34 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791

--- Comment #9 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #8)
> I've tried using the drain callback, and while I am getting a stream of data
> in my web client... the results are strange. 
> 
> It's like it's pulling the same database record more than once but creating
> different Koha::Biblioitem objects each time. I don't have the time/energy
> to work through that today...

Ahhh it's because of the join with the items table:

my $biblioitems = Koha::Biblioitems->search( $conditions, { join => 'items',
columns => 'biblionumber' } );

The code in tools/export.pl is illogical, but at least I understand my weird
results now.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list