[Koha-bugs] [Bug 29571] New: Mainpage : "All librairies" pending suggestions are visible only if the current library has suggestions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 24 17:13:57 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29571
Bug ID: 29571
Summary: Mainpage : "All librairies" pending suggestions are
visible only if the current library has suggestions
Change sponsored?: ---
Product: Koha
Version: 20.11
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: christophe.torin at univ-rennes2.fr
QA Contact: testopia at bugs.koha-community.org
On the mainpage, the "Suggestions pending approval" block is shown only if
there are suggestions for the user's current library, even if the other library
have suggestions.
Example with 3 libraries : , LIB_A (3 suggestions), LIB_B (1 sugg.), LIB_C (0
sugg.)
LIB_A will show "Suggestions pending approval: LIB_A: 3 / All Libraries: 4"
LIB_B will show "Suggestions pending approval: LIB_B: 1 / All Libraries: 4"
LIB_C will show nothing.
If this is to be fixed, it would be simple, in the template intranet-main.tt on
line 178 : The condition on "pendingsuggestions" will return false if it's
equal to 0, thus hiding the whole block, even if the field
"all_pendingsuggestions" is set and above 0.
This was seen on koha 20.11, but I checked and is still on master.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list