From 5b41f3e4f51a5c68193b414104fa6ad12cdf4382 Mon Sep 17 00:00:00 2001
From: Lucas Gass <lucas@bywatersolutions.com>
Date: Thu, 20 Jan 2022 22:06:56 +0000
Subject: [PATCH] Bug 28405: add author name to request.tt when it exists
To test:
1. Place a hold and observe request.tt
2. No author name
3. Apply patch
4. Reload request.tt
5. Author name should appear on the same line as the title.
Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: AUTHORNAME <george@nekls.org>
---
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
index 306b8eaca0..5f72b1ce4e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
@@ -118,7 +118,7 @@
[% END %]
[% UNLESS ( multi_hold ) %]
- <h1>Place a hold on [% INCLUDE 'biblio-title.inc' link = 1 %]</h1>
+ <h1>Place a hold on [% INCLUDE 'biblio-title.inc' link = 1 %] [% IF biblio.author %] by [% biblio.author | html %][% END %]</h1>
[% ELSE %]
<h1>
[% IF ( patron ) %]
--
2.30.2