Koha/C4/Creators
Dobrica Pavlinusic 5baa35ad3b Bug 7846 - get_batch_summary massive speedup
current code is using DISTINCT and another SQL query which can be replaced with GROUP BY
for massive speedup. In our case, generating Manage Batches screen DBI time decreased
from 24.762 s to 0.147 s

Aside from correct usage of relational database, this change also cleans up code nicely.

This change removed semi-columns from SQL query which broke Manage Patron batches.

Test scenario:

1. open Manage Batches screen and take note of time needed to generate it
2. apply this patch
3. reload page and check page genration time

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-05-25 17:47:14 +02:00
..
Batch.pm Bug 5284 - Generic report covering various problems with the labels/patron card tests 2010-10-06 12:52:55 -04:00
Layout.pm Bug 7215 - changed callnumber PRESET field to itemcallnumber 2011-12-12 17:36:09 +01:00
Lib.pm Bug 7846 - get_batch_summary massive speedup 2012-05-25 17:47:14 +02:00
PDF.pm Bug 2246 - (Partial) Label printing doesn't work with Unicode characters 2011-06-04 20:03:10 +12:00
Profile.pm Bug 5284 - Generic report covering various problems with the labels/patron card tests 2010-10-06 13:28:18 -04:00
Template.pm Bug 5284 - Generic report covering various problems with the labels/patron card tests 2010-10-06 13:33:16 -04:00