]> 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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 3 Sep 2020 04:12:39 +0000 (16:12 +1200)
commitfba279050a344cfb43a189d11e041cdb4326acf4
tree8fac0bcd41b597e5a029dc14cd4d770d28271857
parent7a34b88885c13a89cd713bb76eadef11472c1960
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>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt