Bugzilla – Attachment 129602 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.33 KB, created by
Jonathan Druart
on 2022-01-19 12:40:06 UTC
(
hide
)
Description:
Bug 29899: Show public note to patrons when placing a hold
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-19 12:40:06 UTC
Size:
3.33 KB
patch
obsolete
>From 971b8d3aa41db781bd3bb6079aec9341e171aead 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 edc33ccf738..6b65b4c7218 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 3b6ae8e2a38..8459f5825e5 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.25.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