blob: beda82c38f5550418665c075cfde373c0e9e7aa7 [file] [log] [blame]
Akron27ae9ec2015-06-23 00:43:21 +02001% use Mojo::JSON 'encode_json';
Nils Diewald02df9912014-06-03 16:08:07 +00002
Akronfb6d87d2018-10-24 18:10:20 +02003% if (stash('api_response')) {
Akronfb6d87d2018-10-24 18:10:20 +02004% my $kq_hash = stash('api_response');
Akron27ae9ec2015-06-23 00:43:21 +02005% $kq_hash->{matches} = ["..."];
Akronbc6b3f22021-01-13 14:53:12 +01006<span id="koralQuery" data-koralquery="<%== b(encode_json($kq_hash))->decode->xml_escape %>"></span>
Akron27ae9ec2015-06-23 00:43:21 +02007% };