]> git.koha-community.org Git - koha.git/commit
Bug 26833: Logged in library doesn't show with suggestions count
authorOwen Leonard <oleonard@myacpl.org>
Tue, 27 Oct 2020 13:50:12 +0000 (13:50 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Nov 2020 10:03:09 +0000 (11:03 +0100)
commitd2af19dd31d0846ee0c852304b01f1d060e0ba48
tree56b7b2f7c26463b8d8d68b19aa67d0460a1099fb
parent7bbf4f7b5fe54a46d2c54a4dc445a0400dfbef23
Bug 26833: Logged in library doesn't show with suggestions count

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>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt