Bug 21293: Display of housebound delivery information broken by Bug 13618
authorOwen Leonard <oleonard@myacpl.org>
Thu, 30 Aug 2018 16:43:09 +0000 (16:43 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 14 Sep 2018 17:56:29 +0000 (17:56 +0000)
This patch corrects the patron housebound details template. A stray
"html" filter broke display of delivery information.

To test, apply the patch and enable the HouseboundModule system
preference.

 - Open a patron record and select the "Housebound" tab in the left-hand
   navigation menu.
 - Click "Add a new deliver" and save some delivery details.
 - Upon saving you should be directed back to the housebound details
   page. All the details of the delivery you saved should appear
   correctly.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt

index 44e2098..8bf892f 100644 (file)
               </div>
               <div>
                 <h3>Deliveries</h3>
-                [% housebound_visits = housebound_profile.housebound_visits | html %]
+                [% housebound_visits = housebound_profile.housebound_visits %]
                 [% IF  housebound_visits.size > 0 %]
                 <table border="0" width="100%" cellpadding="3" cellspacing="0">
                   <tr>