27 Jan
2022
27 Jan
'22
12:59 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28201 --- Comment #8 from David Cook <dcook@prosentient.com.au> --- Looking at https://docs.mojolicious.org/Mojolicious/Plugin/DefaultHelpers#respond_to and it looks to me like Koha/REST/V1/Biblios.pm might actually be a bit inefficient. It looks like it runs every output option (e.g. "as_xml_record", "to_mij", "as_usmarc", "as_formatted") regardless of what content type is actually served to the user... might be worthwhile wrapping those method calls in anonymous functions... But that's neither here nor there 😅 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.