]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 10 Jan 2022 16:07:25 +0000 (16:07 +0000)
commit385393a566f9f3c9d0523eae33863d4ddbb7d590
treeaf85498d9faa9258fdc69ca4b6fb1af5c4740aeb
parentef41ddc11a9d087637f10fff11bfd7f9a85f08f2
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>
(cherry picked from commit 44bbe36af0b385558c6148c4d5ce95b961211622)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt