Bug 24060: Use patron object to load club tab
To recreate: 1 - Be using 19.05 2 - Create a club template and a club 3 - Go to a patron's checkout page 4 - Note the club tab will load 5 - Go to a patron's details page 6 - Note the club tab says 'Loading' 7 - Apply patch 8 - It loads! Signed-off-by: Myka Kennedy Stephens <mkstephens@lancasterseminary.edu> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
989d74ef66
commit
cdddd0b73e
|
|
@ -849,7 +849,7 @@
|
|||
if ( $('#clubs-tab').length ) {
|
||||
$('#clubs-tab-link').on('click', function() {
|
||||
$('#clubs-tab').text(_("Loading..."));
|
||||
$('#clubs-tab').load('/cgi-bin/koha/clubs/patron-clubs-tab.pl?borrowernumber=[% borrowernumber | html %]');
|
||||
$('#clubs-tab').load('/cgi-bin/koha/clubs/patron-clubs-tab.pl?borrowernumber=[% patron.borrowernumber | html %]');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue