From a80ef882a579dd638347db510bbf0d4f06d5e452 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Tue, 12 Mar 2019 09:41:56 +0000 Subject: [PATCH] Bug 18589: (follow-up) Fix merge problem Bug in passing row to getStatusName As per item 3) in comment #20: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18589#c20 Signed-off-by: Josef Moravec --- koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js index ba0ebd1232..87ecd1eb6c 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js @@ -36,7 +36,8 @@ $(document).ready(function() { resolvedName = row.status_alias.lib; } else { resolvedName = getStatusName( - oData[0].capabilities[row.status].name + oData[0].capabilities[row.status].name, + row ); } uniques[resolvedName] = 1 -- 2.11.0