[Koha-bugs] [Bug 29033] Add C4::Context->multivalue_preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 21 01:44:38 CEST 2021


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

--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
(In reply to Tomás Cohen Arazi from comment #5)
> In my opinion, that's a totally different problem, which we could cleary
> address by making all multi-valued sysprefs behave consistently.

I was thinking that a bit as well. Don't we have some multi-value preferences
that use select lists as well? I'm not sure how those work though. 

I've been debating whether it would be better to return different data types
with C4::Context->preference or if having C4::Context->multivalue_preference
makes sense... and I think you might be right. (I mean if we were starting
over, it would make sense for the preference to be an object and then that
object would have the appropriate methods, but we have to work with what we
have...)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list