Bug 29174 - Availability colors are not consistent in the codebase
Summary: Availability colors are not consistent in the codebase
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-05 12:43 UTC by Marcel de Rooy
Modified: 2023-04-04 14:27 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ! :)