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

--- Comment #13 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211757
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211757&action=edit
Bug 33276: (QA follow-up) Reuse GetAuthorisedValues no_limit, cover ccode

Use the mechanism introduced by bug 32748 rather than a new
Koha::AuthorisedValues method: GetAuthorisedValues with no_limit returns
values limited to other libraries flagged as 'restricted'. The template
keeps the stored value selected and marked, and hides other restricted
values.

* Remove Koha::AuthorisedValues->add_current_value and its tests; the
  no_limit/restricted behaviour is covered in t/db_dependent/Koha.t
* Apply the same handling to the Collection (ccode) dropdown
* Make the tooltip translatable with tx()

Signed-off-by: Martin Renvoize <[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