Bugzilla – Attachment 112584 Details for
Bug 26833
Logged in library doesn't show with suggestions count
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26833: Logged in library doesn't show with suggestions count
Bug-26833-Logged-in-library-doesnt-show-with-sugge.patch (text/plain), 3.08 KB, created by
Séverine Queune
on 2020-10-27 16:31:03 UTC
(
hide
)
Description:
Bug 26833: Logged in library doesn't show with suggestions count
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2020-10-27 16:31:03 UTC
Size:
3.08 KB
patch
obsolete
>From 83170f47e018841f63b62091e76cd64c231d636c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 27 Oct 2020 13:50:12 +0000 >Subject: [PATCH] Bug 26833: Logged in library doesn't show with suggestions > count >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch corrects the template variables used by the suggestions >counts shown on the staff interface home page and the acquisitions home >page. They should use [% Branches.GetLoggedInBranchname %] > >To test you should have some suggestions from multiple libraries. > >- Log in to the staff interface. >- On the home page you should see "Suggestions pending approval," > followed by the name of your logged-in library and the count of > suggestions for your library. >- Go to the acquisitions page. >- In the "Pending suggestions" section you should see the same > information: Your logged-in library name, suggestion count, and the > count of suggestions at all libraries. > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >index 2546eb6..0990427 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >@@ -57,7 +57,7 @@ > <p> > Manage suggestions: > <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED"> >- <span id="pendingsuggestions" class="pending-number-link">[% LoginBranchname | html %]: [% suggestions_count | html %]</span> >+ <span id="pendingsuggestions" class="pending-number-link">[% Branches.GetLoggedInBranchname | html %]: [% suggestions_count | html %]</span> > </a> > [% IF (all_pendingsuggestions > 0) %] > / >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >index a03757e..373c312 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >@@ -158,7 +158,7 @@ > > Suggestions pending approval: > <a href="/cgi-bin/koha/suggestion/suggestion.pl?branchcode=[% Branches.GetLoggedInBranchcode | url %]#ASKED"> >- <span id="pendingsuggestions" class="pending-number-link">[% LoginBranchname | html %]: [% pendingsuggestions | html %]</span> >+ <span id="pendingsuggestions" class="pending-number-link">[% Branches.GetLoggedInBranchname | html %]: [% pendingsuggestions | html %]</span> > </a> > [% IF (all_pendingsuggestions > 0) %] > / >-- >2.1.4
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 26833
:
112576
|
112584
|
112800