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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/