Bug 29174

Summary: Availability colors are not consistent in the codebase
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: lucas
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29198
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2021-10-05 12:43:09 UTC
OPAC Results has three blocks: Available for loan, Available for reference (a subset of some not for loan categories, see pref Reference_NFL_Statuses and Not available (some not for loans, checked out, damaged, etc)

The not available group is RED, the two available groups are GREEN.
At least talking about opac-search. (And opac-shelves too.)

But now we still need to address a few other spots where we use these colors:
opac-detail shows the reference items RED!
opac-basket does the same.

Would you know more code locations?
It seems that staff already uses another algorithm to choose for RED. On catalogue detail red is used only for damaged, lost, etc?
Comment 1 Marcel de Rooy 2021-10-05 12:52:13 UTC
Please help to make Koha an even greener place ! :)