[Koha-bugs] [Bug 29134] Patron search has poor performance when ExtendedAttributes enabled and many attributes match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 30 13:09:43 CEST 2021


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

--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to David Nind from comment #5)
> I attempted to test (using koha-testing-docker - started with ku).
> 
> For whatever reason, the SQL in step 1 didn't add the new patrons to the
> database - I still just have the standard 53 patrons you normally get with
> KTD.

That was a typo, it should be:"
INSERT into borrowers(surname, firstname, branchcode, categorycode) SELECT
surname, firstname, branchcode, categorycode FROM ( SELECT surname FROM
borrowers ORDER BY rand() ) a,( SELECT firstname FROM borrowers ORDER BY rand()
) b,( SELECT branchcode FROM borrowers ORDER BY rand() ) c,( SELECT
categorycode FROM borrowers ORDER BY rand() ) d LIMIT 50000

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


More information about the Koha-bugs mailing list