From 5c24035e461ae69a14fa529463a2e56ced0b1f38 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 11 Jun 2025 14:43:46 +0000 Subject: [PATCH] Bug 40107: Article requests: Some DataTables functionality is broken Bug 38255 standardized our DataTables using kohaTable. kohaTable returns the affected table as a jQuery object, but JavaScript on the article requests page in the staff client expects a DataTable object. This patch updates the template accordingly. To test, apply the patch and enable the ArticleRequests system preference if necessary. - Log in to the OPAC and place several article requests. - In the staff interface, go to Circulation -> Article requests. - From the list of new article requests, test the menu options under "Actions." - Changing the status of a request should make it disappear from the "New" tab and appear under the tab for the new status (or it should be removed, in case of cancel or complete). - Test the same processes under the "Pending" and "Processing" tabs. - Each time you perform one of these tasks the counters on each tab should be updated correctly. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind --- .../prog/en/modules/circ/article-requests.tt | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt index 22a1f994a0..a92f177f8d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt @@ -524,7 +524,7 @@ [% INCLUDE 'datatables.inc' %]