summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Releases/JS.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNWeb/Releases/JS.pm')
-rw-r--r--lib/VNWeb/Releases/JS.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNWeb/Releases/JS.pm b/lib/VNWeb/Releases/JS.pm
index a258036b..34bf823f 100644
--- a/lib/VNWeb/Releases/JS.pm
+++ b/lib/VNWeb/Releases/JS.pm
@@ -15,6 +15,7 @@ json_api qr{/r/get\.json}, { vid => { id => 1 } }, sub {
'ORDER BY r.released, r.title, r.id'
);
enrich_flatten lang => id => id => sub { sql('SELECT id, lang FROM releases_lang WHERE id IN', $_, 'ORDER BY lang') }, $l;
+ enrich_flatten platforms => id => id => sub { sql('SELECT id, platform FROM releases_platforms WHERE id IN', $_, 'ORDER BY platform') }, $l;
elm_Releases $l;
};