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

--- Comment #1 from Andrew Isherwood <andrew.isherw...@ptfs-europe.com> ---
Created attachment 74152
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74152&action=edit
Bug [20563] - [ILL request list gives no indication of source and/or target]

This patch adds the display of requested partner email addresses when an
ILL backend provides the ability to send requests to partners. Partner
email addresses are displayed in the illlist and illview displays, they
are also included in the 'illrequests' API response.

* api/v1/swagger/paths/illrequests.json:
  - Add 'requested_partners' as an 'embed' enum
* Koha/Illrequest.pm:
  - Add 'requested_partners' accessor calling optional backend
'get_requested_partners' method.
  - Store requested partners upon email send, calling optional backend
'set_requested_partners' method.
  - Add 'requested_parners' embed to overloaded TO_JSON method.
* koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt:
  - Add 'requested_partners' embed to illrequests API call
  - Add render function for "Additional status" datatables column
  - Add display of requested partner email addresses to illlist table
  - Add display of requested partner email addresses to illview display

TEST PLAN
---------

- Enable Interlibrary loans
- Add a backend that supports sending requests to partners, e.g.
FreeForm
- Set up at least one partner
- Create an ILL request
- Send request to partner(s)
- TEST: Ensure partner(s) email address(es) are displayed in "View ILL
requests" view
- TEST: Ensure partner(s) email address(es) are displayed in "Manage ILL
request" view

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to