[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:12 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20797

--- Comment #23 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 79578
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79578&action=edit
Bug 20996: Remove prefix use of borrower category

This patch removes the potential use of borrower category as a ILL
request ID prefix. It makes no sense. We provide the ability for a site
to define a request prefix based on branch, there is no use case for
using the borrower category. Add to this that the borrower for every
request was being retrieved in order to get the category, it's a huge
performance hit also.

We also now require the <branch> block in the <interlibrary_loans> block
and complain if it's not present. The request prefix should be defined
in this block.

This patch also improves the performance of the API request that returns all
requests, optionally including additional data.

It also deprecates the overloaded TO_JSON method and moves the request
augmentation code into the API route's controller. It may be that we
want to shift it out of there at some point, but it is fine where it is
for now.

Signed-off-by: Magnus Enger <magnus at enger.priv.no>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list