Bug 18915: Giving CHECKOUT_NOTE access to issues table
authorAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 17 Dec 2017 23:33:18 +0000 (23:33 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jan 2018 15:14:00 +0000 (12:14 -0300)
This patch allows the notice to reference the issues table so that the
checkout note itself can be added to the note if wanted, such as in
Comment 9.

Sponsored-by: Catalyst IT

Signed-off-by: Marjorie Barry-Vila <marjorie.barry-vila@collecto.ca>

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

Signed-off-by: Marjorie Vila <marjorie.barry-vila@collecto.ca>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

opac/svc/patron_notes

index 130b0c9..eeed099 100755 (executable)
@@ -87,6 +87,7 @@ if ($is_ajax) {
                     tables => {
                         'biblio' => $biblionumber,
                         'borrowers' => $borrowernumber,
+                        'issues' => $issue->itemnumber,
                     },
                 );