Bugzilla – Attachment 163029 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.49 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-03-11 13:20:12 UTC
(
hide
)
Description:
Bug 36204: Add othernames field to PatronAutoComplete display
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-03-11 13:20:12 UTC
Size:
1.49 KB
patch
obsolete
>From bc34d55ef01bc540afacf2f064d9ec781c27ca13 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 29 Feb 2024 16:53:18 +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 | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >index ab24a9304e2..91a166d7820 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >@@ -520,6 +520,7 @@ function patron_autocomplete(node, options) { > + (item.surname ? item.surname.escapeHtml() : "") + ", " > + (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.44.0
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