Bug 25005: (bug 22868 follow-up) Fix suggestions pending on main page
commit9e2f3200eaf2d09c0124fbf506d114b95b2f1920
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 7 Apr 2020 11:32:51 +0000 (7 13:32 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 07:24:50 +0000 (14 08:24 +0100)
treececb5359542c6bd9760d453782cfa74c44c3d19e
parent25966df4d7164e931e35ae5a640ae85eb2644ce3
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: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt