[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 7 09:00:27 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29033
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+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 :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list