From 87cdf35dcb301bde197dfe5950c3449c88981864 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. --- 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 8cf93d1baa..8138ca5dd7 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js @@ -231,7 +231,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.2