Bugzilla – Attachment 76992 Details for
Bug 19524
Share patron lists between staff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19524: Use existing logged_in_user variable
Bug-19524-Use-existing-loggedinuser-variable.patch (text/plain), 1.66 KB, created by
Kyle M Hall (khall)
on 2018-07-16 11:55:49 UTC
(
hide
)
Description:
Bug 19524: Use existing logged_in_user variable
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-07-16 11:55:49 UTC
Size:
1.66 KB
patch
obsolete
>From 9f435c0d9e9757b161f5a91fc0a5b173fa58be44 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 16 Jul 2018 07:54:49 -0400 >Subject: [PATCH] Bug 19524: Use existing logged_in_user variable > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt | 2 +- > patron_lists/lists.pl | 5 +---- > 2 files changed, 2 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >index dcf3ca549f..b6057a6c54 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >@@ -39,7 +39,7 @@ > > <tbody> > [% FOREACH l IN lists %] >- [% SET shared_by_other = l.owner.id != logged_in_user %] >+ [% SET shared_by_other = l.owner.id != logged_in_user.id %] > <tr> > <td><a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% l.patron_list_id %]">[% l.name |html%]</a></td> > <td>[% l.patron_list_patrons_rs.count || 0 %]</td> >diff --git a/patron_lists/lists.pl b/patron_lists/lists.pl >index 8b2a97fa98..a5cdf2b74c 100755 >--- a/patron_lists/lists.pl >+++ b/patron_lists/lists.pl >@@ -39,9 +39,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > > my @lists = GetPatronLists(); > >-$template->param( >- lists => \@lists, >- logged_in_user => $loggedinuser, >-); >+$template->param( lists => \@lists ); > > output_html_with_http_headers( $cgi, $cookie, $template->output ); >-- >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 19524
:
75872
|
75873
|
75874
|
75878
|
75879
|
75880
|
75891
|
75892
|
75893
| 76992