Bug 30578: Restore highlighting of patrons from the logged-in library
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
9309dedb53
commit
d2b16aaacc
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function patron_autocomplete(node, options) {
|
|||
// Display card number in parentheses if it exists
|
||||
cardnumber = " (" + item.cardnumber + ") ";
|
||||
}
|
||||
if( item.branchcode == loggedInLibrary ){
|
||||
if( item.library_id == loggedInLibrary ){
|
||||
loggedInClass = "ac-currentlibrary";
|
||||
} else {
|
||||
loggedInClass = "";
|
||||
|
|
Loading…
Reference in a new issue