https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41111 --- Comment #12 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- (In reply to Paul Derscheid from comment #7)
Hi Pedro, this works, but I found some issues while exercising the test plan.
The following was written by Claude Opus 5.5:
1. The yellow backend is never suggested. The commit message says it becomes the suggested backend when no green ones exist, but with only a yellow result the recommendation is "Standard". _addWarningMessage sets available = 0, and the pick only matches available. Either fall back to the first yellow backend on the staff side, or reword the commit message. 2. Standard is no longer highlighted when selected. The change handler only highlights rows containing .text-success or .text-warning, and the Standard row has neither. It needs an else branch with the previous green styling.
Minor: a 2xx response with neither success nor warning leaves "Verifying availability..." spinning forever, so please add a fallback branch.
Thanks Paul, 1. I've reworded the commit message. I believe that behavior was intended initially but then dropped, and the commit message never updated. 2. and the minor nit should be fixed. Thanks again. -- You are receiving this mail because: You are watching all bug changes.