Bugzilla – Attachment 165223 Details for
Bug 36204
Add othernames to the PatronAutoComplete display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36204: Add othernames field to PatronAutoComplete display
Bug-36204-Add-othernames-field-to-PatronAutoComple.patch (text/plain), 1.45 KB, created by
Lucas Gass (lukeg)
on 2024-04-19 17:33:39 UTC
(
hide
)
Description:
Bug 36204: Add othernames field to PatronAutoComplete display
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-04-19 17:33:39 UTC
Size:
1.45 KB
patch
obsolete
>From 24369ea058c3216d70da8eb07aff0ef31bd665e7 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 19 Apr 2024 17:33:05 +0000 >Subject: [PATCH] Bug 36204: Add othernames field to PatronAutoComplete display > >To test: >1. APPLY PATCH >2. Make sure PatronAutoComplete is on. >3. Find or add othernames to a patron record. >4. Search for that patron and make sure othernames properly displays in the dropdown. >5. Add a middle name to that patron and search again, make sure the display looks good. >6. Remove the othernames field and search again, make sure the display looks good. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >index 4080b1d7f5..30f0ce7019 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >@@ -608,6 +608,8 @@ function patron_autocomplete(node, options) { > (item.firstname ? item.firstname.escapeHtml() : "") + > " " + > (item.middle_name ? item.middle_name.escapeHtml() : "") + >+ " " + >+ (item.other_name ? item.other_name.escapeHtml() : "") + > cardnumber.escapeHtml() + > " <small>" + > (item.date_of_birth >-- >2.30.2
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 36204
:
162610
|
163028
|
163029
| 165223