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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 4 Jan 2022 06:58:36 +0000 (20:58 -1000)
commitc4c2aa2e3301afe7ba64762144cbff0b9017ff53
treed36a228b6c95fec04b47b2838704b63d6e74dca7
parentebb544dd91fe0dfef1a2fd3ce5e5eb3b11476475
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>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt