https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24488 --- Comment #91 from Josef Moravec <josef.moravec@gmail.com> --- (In reply to Josef Moravec from comment #90)
This does not work correctly - in fact the behaviour is same as before patch (only slower)
When we get all holds at once, it will be the same as before... we need to do one of this things:
- get hold by biblionumber in each loop - revert last patch - bad performance - add 'priority' => 1, to where clause - best performance, but can we - add subquery and get only the holds with priority = min(priority) for given biblionumber - probably the optimal solution?
Sorry, commited comment too early ;) ad second point: - add 'priority' => 1, to where clause - best performance, but can we assume the lowest priority is always 1? -- You are receiving this mail because: You are watching all bug changes.