From 6a1ff49b71b03df2bde212fa138a4e90165c5eec Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 22 Feb 2023 10:27:19 +0000 Subject: [PATCH] Bug 31705: Option for ILL "Manage request" button to appear on left of the screen to improve accessibility This patch adds a link to the illview details page to the content in the ID column, making it accessible at the beginning of the row instead of having to scroll horizontally to find the "Manage request" button if all columns are being displayed. --- koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 d6e92cc517..09ad54767a 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js @@ -218,7 +218,7 @@ $(document).ready(function() { // Render function for request ID var createRequestId = function(data, type, row) { - return row.id_prefix + row.illrequest_id; + return '' + row.id_prefix + row.illrequest_id + ''; }; // Render function for type @@ -292,7 +292,8 @@ $(document).ready(function() { skipSanitize: true }, illrequest_id: { - func: createRequestId + func: createRequestId, + skipSanitize: true }, status: { func: createStatus -- 2.30.2