Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Oct 7, 2024
2 parents 50e49d9 + acbe68b commit aadbe46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions perllib/Open311/Endpoint/Integration/Passthrough.pm
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ sub services {
next unless $_->{service_name};
$_->{groups} = delete $_->{group} if $_->{group};
$_->{description} ||= '';
$_->{keywords} = [ split /\s*,\s*/, $_->{keywords} ] if $_->{keywords};
my $service = Open311::Endpoint::Service->new(%$_);
if ($_->{metadata} eq 'true') {
# An empty one is enough to get the metadata true passed out
Expand Down
2 changes: 1 addition & 1 deletion t/open311/endpoint/passthrough.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ my $expected_services = <<XML;
<group>Flooding</group>
<group>Flooding &amp; Drainage</group>
</groups>
<keywords></keywords>
<keywords>hello,hello2,hello3</keywords>
<metadata>true</metadata>
<service_code>ABC_DEF</service_code>
<service_name>Flooding</service_name>
Expand Down

0 comments on commit aadbe46

Please sign in to comment.