[Koha-bugs] [Bug 20797] If an Ill request has an associated bib record, the detail view should contain a link to the record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 28 15:17:43 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20797
--- Comment #27 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 79582
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79582&action=edit
Bug 20996: (follow-up) Fix column name expectation
This bug changes how request metadata is obtained. Previously the
appropriate backend's metadata function would return it. For at least
the FreeForm backend, the metadata property names we title cased. The
datatable JS was expecting this and breaks with the new metadata getting
which is performed in the API controller, which just returns the
property names as they appear in the DB.
This patch changes the expectation of the JS to match what's coming back
from the API
Signed-off-by: Magnus Enger <magnus at enger.priv.no>
Tested by repeatedly loading the API-call
http://intranet/api/v1/illrequests?embed=metadata,patron,capabilities,library
in Chromium and watching the reported time to load the URL. There
is a siginificant decrease in the time with the patches compared to
the time it takes without the patches. I had some concerns along the
way, but they have all been fixed.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list