From c18a9df2262816147e76f39bec3bb75c70c00027 Mon Sep 17 00:00:00 2001
From: Julian Maurice <julian.maurice@biblibre.com>
Date: Fri, 8 Jun 2018 10:52:22 +0200
Subject: [PATCH] Bug 15219: Fix relatives issues table

---
 koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js
index dd148ee8ce..8a68cede21 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js
+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js
@@ -656,7 +656,7 @@ $(document).ready(function() {
     var relativesIssuesTable;
     $("#relatives-issues-tab").click( function() {
         if ( ! relativesIssuesTable ) {
-            relativesIssuesTable = KohaTable("#relatives-issues-table", {
+            relativesIssuesTable = KohaTable("relatives-issues-table", {
                 "bAutoWidth": false,
                 "sDom": 'C<"top pager"ilp>rt',
                 "aaSorting": [[4, "desc"]],
@@ -735,7 +735,7 @@ $(document).ready(function() {
                         "orderable": ServerSideCheckoutsTables ? false : true
                     },
                     {
-                        "data": "replacementprice",
+                        "data": "price",
                         "render": {
                             "display": renderers.price
                         },
-- 
2.17.1