From fa2d629c3cfdeca18aa868bd18653d379211d719 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 21 May 2024 09:13:49 +0000 Subject: [PATCH] Bug 36904: Fix batch->ill_batch This was missed when renaming follow-ups were added to bug 30719 1) Enable ILL, install FreeForm and checkout the current compatible branch with main bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh) cd /kohadevbox/koha/Koha/Illbackends/FreeForm git checkout reorganize_ILL 2) Visit ILL module: http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl 3) Type whatever search in the tiny 'Search' input box directly above the table 4) Notice you get an error. Apply patch. Repeat. Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer (cherry picked from commit 5f031219ba0f242cab75cd07d4fcdf30af91d177) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 2 +- 1 file changed, 1 insertion(+), 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 8d564a4ee7..98e9aec93d 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js @@ -216,7 +216,7 @@ $(document).ready(function() { } }, { - "data": "batch.name", // batch + "data": "ill_batch.name", // batch "orderable": false, "render": function(data, type, row, meta) { return row.ill_batch ? -- 2.39.5