Bugzilla – Attachment 182893 Details for
Bug 40005
Manage request page should show accessurl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40005: Add accessurl to manage ILL request page
Bug-40005-Add-accessurl-to-manage-ILL-request-page.patch (text/plain), 2.06 KB, created by
David Nind
on 2025-06-01 22:01:59 UTC
(
hide
)
Description:
Bug 40005: Add accessurl to manage ILL request page
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-06-01 22:01:59 UTC
Size:
2.06 KB
patch
obsolete
>From 1ca864bafdae9f220c96e0768cc6a881610aa31f Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Tue, 27 May 2025 14:10:26 +0000 >Subject: [PATCH] Bug 40005: Add accessurl to manage ILL request page > >Test plan: >1) Enable ILLModule >2) Create a new ILL request, visit: > <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard >3) Add 'type', cardnumber '42' and any library. Click 'Create'. >4) You are now on the ILL manage request page. >5) Some backends may use the accessurl to store the URL of a document, run the following SQL: > UPDATE illrequests SET accessurl = 'https://koha-community.org/'; >6) Refresh the page from 4) or visit the ILL manage request page for that request. >7) Verify the accessurl is now shown. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index 26ba077ed9..552d8cde93 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -646,6 +646,12 @@ > [% type | html %] > </li> > [% END %] >+ [% IF request.accessurl %] >+ <li class="accessurl"> >+ <span class="label accessurl">Access URL:</span> >+ <a href="[% request.accessurl | url %]" target="_blank" title="[% request.accessurl | html %]"><i class="fa-solid fa-arrow-up-right-from-square"></i> View document</a> >+ </li> >+ [% END %] > [% historycheck_requests = request.get_history_check_requests %] > [% IF historycheck_requests.count %] > <li class="historycheck_requests_value"> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40005
:
182798
| 182893