]> git.koha-community.org Git - koha.git/commit
Bug 25005: (bug 22868 follow-up) Fix suggestions pending on main page
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 7 Apr 2020 11:32:51 +0000 (13:32 +0200)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Sun, 20 Sep 2020 15:16:19 +0000 (17:16 +0200)
commitede65c75449f400af5bff95cb1f86184b5c580b7
tree717a3296de3df2dae6757b28e600aa615a0daddf
parentba1b2b05dbb4fc37eb55a673c7417852d30cfa5a
Bug 25005: (bug 22868 follow-up) Fix suggestions pending on main page

There is a "Suggestions pending approval" link on the main page that is
displayed if there are new suggestions and the logged in user has the
permission to manage them.

On bug bug 22868 the permission changed from
acquisition.suggestions_manage to suggestions.suggestions_manage

But in the template, one occurrence has not been replaced correctly
(certainly because it was already wrong actually).

Test plan:
Create a suggestion at the OPAC
Create a patron with the suggestions permission
Use this patron to login at the staff interface
=> Without this patch the link does not appear on the main page
=> With this patch applied the link appears

Signed-off-by: David Roberts <david@koha-ptfs.co.uk>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
(cherry picked from commit fba279050a344cfb43a189d11e041cdb4326acf4)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt