From 11ba21369dc99ba2b1ae4d4fbe4af572e6af40e4 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 6 Apr 2016 16:12:16 +0200 Subject: [PATCH] Bug 16214: Fix typo 'To.jon' -> 'To.json' Bug 15722 introduces a regression in serials patron search results, causing the surname to not be displayed To reproduce: 1. Create a routing list for a subscription 2. Click on "Add recipients" button 3. Run a search 4. Check that surname is not displayed Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher (cherry picked from commit e916ded09756ba4902a25e9e68fe536614419c87) Signed-off-by: Julian Maurice --- .../prog/en/modules/serials/tables/members_results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt index b5096c6d54..75cf84ca82 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt @@ -9,7 +9,7 @@ "dt_cardnumber": "[% data.cardnumber %]", "dt_name": - "[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.jon(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]", + "[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = To.json(data.firstname) surname = To.json(data.surname) othernames = To.json(data.othernames) cardnumber = data.cardnumber invert_name = 1%]", "dt_branch": "[% data.branchname |html %]", "dt_action": -- 2.39.5