Bugzilla – Attachment 186926 Details for
Bug 40865
Single patron result does not redirect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40865: Redirect if only one patron is found
Bug-40865-Redirect-if-only-one-patron-is-found.patch (text/plain), 1.48 KB, created by
Brendan Lawlor
on 2025-09-25 18:12:10 UTC
(
hide
)
Description:
Bug 40865: Redirect if only one patron is found
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2025-09-25 18:12:10 UTC
Size:
1.48 KB
patch
obsolete
>From c0bdcfbf93ef1924b91ad4cec04eb2f0232acece Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 25 Sep 2025 12:53:29 +0200 >Subject: [PATCH] Bug 40865: Redirect if only one patron is found > >Regression from > commit e9b8004d197876dea8c38374c08ec00451e37020 > Bug 38255: Replace dataTable constructor with kohaTable - Staff > >We should keep the params passed and not override them > >Test plan: >1 - Search for 'edna acosta' in check out search on koha home page >2 - See the one result >3 - You are expected to be redirected to the patron's page > >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> >--- > koha-tmpl/intranet-tmpl/prog/js/datatables.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >index 0e8a12b23f..24ed39d5da 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js >@@ -1373,8 +1373,8 @@ function update_search_description( > if (options.ajax && !options.bKohaAjaxSVC) { > options.ajax = Object.assign( > {}, >- options.ajax, >- _dt_default_ajax({ default_filters, options }) >+ _dt_default_ajax({ default_filters, options }), >+ options.ajax > ); > options.serverSide = true; > options.processing = true; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40865
:
186917
|
186920
| 186926 |
186927