If there's a lot of items, think serial, ILSDI GetRecord is slow enough that EBSCO timeout. using the authorized values cache for location help.
Created attachment 164064 [details] [review] Bug 36315: ILSDI GetRecords use AuthorisedValues cache for items.location Speedup GetRecords by using Koha cache for items.location authorised value. Test plan 1) Enable ILS-DI http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ILS-DI 2) Download a record http://localhost:8080/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=1 3) Note location_description 4) Apply patch 5) Re download the same record 6) Verify location_description are the same
Created attachment 167179 [details] [review] Bug 36315: ILSDI GetRecords use AuthorisedValues cache for items.location Speedup GetRecords by using Koha cache for items.location authorised value. Test plan 1) Enable ILS-DI http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ILS-DI 2) Download a record http://localhost:8080/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=1 3) Note location_description 4) Apply patch 5) Re download the same record 6) Verify location_description are the same Signed-off-by: David Nind <david@davidnind.com>
Created attachment 171993 [details] [review] Bug 36315: ILSDI GetRecords use AuthorisedValues cache for items.location Speedup GetRecords by using Koha cache for items.location authorised value. Test plan 1) Enable ILS-DI http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ILS-DI 2) Download a record http://localhost:8080/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=1 3) Note location_description 4) Apply patch 5) Re download the same record 6) Verify location_description are the same Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Pushed for 24.11! Well done everyone, thank you!