From ea330e10005935e39103eeef492f2985e842e1f0 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 13 Feb 2023 14:05:03 +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 5904b398db..2ffeaf5062 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 batch @@ -302,7 +302,8 @@ $(document).ready(function() { skipSanitize: true }, illrequest_id: { - func: createRequestId + func: createRequestId, + skipSanitize: true }, status: { func: createStatus -- 2.30.2