Bugzilla – Attachment 95516 Details for
Bug 24060
[19.05] Can't load patron clubs tab on patron details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24060: Use patron object to load club tab
Bug-24060-Use-patron-object-to-load-club-tab.patch (text/plain), 1.36 KB, created by
Nick Clemens
on 2019-11-18 16:19:54 UTC
(
hide
)
Description:
Bug 24060: Use patron object to load club tab
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2019-11-18 16:19:54 UTC
Size:
1.36 KB
patch
obsolete
>From 31a9063474955035d35ebad04f85f591cdba9a07 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 18 Nov 2019 16:19:02 +0000 >Subject: [PATCH] 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! >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index d41e76d582..0548b2a6b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -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 %]'); > }); > } > >-- >2.11.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 24060
:
95516
|
95588