https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41111

--- Comment #9 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 209583
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209583&action=edit
Bug 41111: Add a yellow state to AutoILLBackendPriority

Originally, AutoILLBackendPriority only considered 2 states: green or red. This
patch introduces a yellow state.
Yellow means the Staff UI can pick that backend, but Koha will never
pre-select a yellow backend.

Test plan:
1) Enable ILLModule
2) Install this dummy backend plugin designed for testing purposes only:
https://github.com/openfifth/koha-ill-backend-plugin/releases/tag/v2.0.7
3) Enable AutoILLBackendPriority by ticking "PluginBackend"
4) Create a new ILL request, visit:
<staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard
5) If you put 'red' as title, the backend will return unavailable. If you put
'green' on title the backend will return available. If you put 'yellow' on the
title, the backend will return the new 'yellow' stage. If title doesnt match
that it'll return one of the 3 at random.

Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to