Bugzilla – Attachment 57181 Details for
Bug 17550
Display initials in patron search autocomplete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to implement the desired enhancement
17550.patch (text/plain), 1.35 KB, created by
Theodoros Theodoropoulos
on 2016-11-04 12:14:02 UTC
(
hide
)
Description:
Patch to implement the desired enhancement
Filename:
MIME Type:
Creator:
Theodoros Theodoropoulos
Created:
2016-11-04 12:14:02 UTC
Size:
1.35 KB
patch
obsolete
>--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc 2016-11-04 14:03:23.663906000 +0200 >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc 2016-11-04 14:07:01.895906000 +0200 >@@ -13,7 +13,7 @@ > .data( "ui-autocomplete" )._renderItem = function( ul, item ) { > return $( "<li></li>" ) > .data( "ui-autocomplete-item", item ) >- .append( "<a>" + item.surname + ", " + item.firstname + " (" + item.cardnumber + ") <small>" + item.dateofbirth + " " + item.address + " " + item.city + " " + item.zipcode + " " + item.country + "</small></a>" ) >+ .append( "<a><b>" + item.surname + ", " + item.firstname + "</b> <i>" + item.initials + "</i>" + " (" + item.cardnumber + ") <small>" + item.address + " " + item.city + " " + item.zipcode + " " + item.country + "</small></a>" ) > .appendTo( ul ); > }; > >--- a/circ/ysearch.pl 2016-11-04 14:03:53.879906000 +0200 >+++ b/circ/ysearch.pl 2016-11-04 14:04:35.367906000 +0200 >@@ -83,6 +83,7 @@ > { borrowernumber => $b->borrowernumber, > surname => $b->surname // '', > firstname => $b->firstname // '', >+ initials => $b->initials // '', > cardnumber => $b->cardnumber // '', > dateofbirth => format_sqldatetime($b->dateofbirth, undef, undef, 1) // '', > address => $b->address // '',
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 17550
:
57179
|
57180
|
57181
|
57663
|
57672
|
57780
|
57781