]> git.koha-community.org Git - koha.git/commit
Bug 29571: Display all pending suggestions even if none from logged in library
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 25 Nov 2021 13:06:07 +0000 (14:06 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 7 Jan 2022 11:18:22 +0000 (06:18 -0500)
commit44bbe36af0b385558c6148c4d5ce95b961211622
treea65553cc7dc56d2addb6d1844b99121cd203cea7
parent198bdd374df8838b621316d88d13f8f1c8b6d5f2
Bug 29571: Display all pending suggestions even if none from logged in library

The number of pending suggestions was only displayed if there are pending
suggestions at the logged in library.

Test plan:
Login at CPL
Create a suggestion (ASKED) for another library
=> Without this patch there is nothing on the mainpage
=> With this patch applied you will see info about pending suggestions:

"Suggestions pending approval: Centerville: 0 / All libraries: 1"

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: ThibaudGLT <thibaud.guillot@biblibre.com>
Signed-off-by: Andreas Roussos <a.roussos@dataly.gr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt