[Koha-bugs] [Bug 29033] Add C4::Context->multivalue_preference
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 28 20:43:39 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29033
--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Marcel de Rooy from comment #7)
> +sub multivalue_preference {
> + my ( $self, $preference ) = @_;
> +
> + my $syspref = $self->preference($preference) // q{};
> + my $values = [ split qr{\|}, $syspref ];
> +
> + return $values;
> +}
>
> I agree that we need a parameter here to pass other separators.
> Multi value, multi sepa :)
Counter proposal:
1. Accept this as-is
2. Implement a nice UI to abstract users from the separator being used
3. Migrate sysprefs into using this
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list