Bugzilla – Attachment 129587 Details for
Bug 29899
Show public note to patrons when placing a hold
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29899: Show public note to patrons when placing a hold
Bug-29899-Show-public-note-to-patrons-when-placing.patch (text/plain), 3.25 KB, created by
Lucas Gass (lukeg)
on 2022-01-18 18:21:34 UTC
(
hide
)
Description:
Bug 29899: Show public note to patrons when placing a hold
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-01-18 18:21:34 UTC
Size:
3.25 KB
patch
obsolete
>From 804e454355aca5292a8bb516dc342e0b1380b559 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 18 Jan 2022 17:57:22 +0000 >Subject: [PATCH] Bug 29899: Show public note to patrons when placing a hold > >This patch adds public note to the table of information shown about >items when placing a hold on a specific item in the OPAC. > >To test, apply the patch and check Administration -> Circulation and >fine rules. You should have at least one patron category/item type >configured to allow OPAC item level holds. > >- Modify an item to add information to the "Public note" field. >- Locate that record in the OPAC and place a hold on it. >- On the "Placing hold" page, click "Show more options" and "A specific > item." >- In the table of items you should see a "Notes" column showing the > information you added to the item. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 4 ++++ > opac/opac-reserve.pl | 1 + > 2 files changed, 5 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index edc33ccf73..6b65b4c721 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -362,6 +362,7 @@ > [% IF ( itemdata_enumchron ) %] > <th>Vol info</th> > [% END %] >+ <th>Notes</th> > <th>Information</th> > </tr> > >@@ -404,6 +405,9 @@ > [% IF ( itemdata_enumchron ) %] > <td class="vol_info">[% itemLoo.enumchron | html %]</td> > [% END %] >+ <td class="itemnotes"> >+ [% itemLoo.itemnotes | html %] >+ </td> > <td class="information"> > [% IF ( itemLoo.dateDue ) %] > <span class="checkedout">Due [% itemLoo.dateDue | html %]</span> >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index 3b6ae8e2a3..8459f5825e 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -488,6 +488,7 @@ foreach my $biblioNum (@biblionumbers) { > $itemLoopIter->{enumchron} = $itemInfo->{enumchron}; > $itemLoopIter->{ccode} = $itemInfo->{ccode}; > $itemLoopIter->{copynumber} = $itemInfo->{copynumber}; >+ $itemLoopIter->{itemnotes} = $itemInfo->{itemnotes}; > if ($itemLevelTypes) { > $itemLoopIter->{translated_description} = $itemInfo->{translated_description}; > $itemLoopIter->{itype} = $itemInfo->{itype}; >-- >2.20.1
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 29899
:
129586
|
129587
|
129602