]> git.koha-community.org Git - koha.git/commit
Bug 29571: (follow-up) Fix display of pending suggestions in acqui-home.tt
authorAndreas Roussos <a.roussos@dataly.gr>
Mon, 13 Dec 2021 06:49:07 +0000 (07:49 +0100)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 10 Jan 2022 16:07:38 +0000 (16:07 +0000)
commit271e2b8c6545d31bb34a04629db01a38b713dd67
treefa24e7fc7172bf6a7d4a27c7268824d332abc8f3
parent385393a566f9f3c9d0523eae33863d4ddbb7d590
Bug 29571: (follow-up) Fix display of pending suggestions in acqui-home.tt

In addition to the Staff Client's home page, the number of pending
suggestions is also displayed in Home > Acquisitions. Currently,
these are only displayed if there are pending suggestions at the
logged in library. However, suggestions should always be displayed.

This follow-up patch fixes that, and also removes a template variable
(`suggestion`) that is no longer in use (removed as part of Bug 4331,
commit 70af4593722ce2f3debd4f6d2c251ad29008b923).

Test plan:
1) Create a suggestion for Library A.
2) Go to Home > Acquisitions while logged in at Library B.
   Without this patch, nothing is displayed regarding suggestions.
3) Apply this patch. Notice how suggestion information is shown, like:
   "Manage suggestions: Library B: 0 / All libraries: 1"
   If you change the library to Library A, you should get:
   "Manage suggestions: Library A: 1"

Signed-off-by: Florian Bontemps <florian.bontemps@biblibre.com>
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 a43a17194020c0f242e346346242c17702ab8bd2)

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