diff options
author | Yorhel <git@yorhel.nl> | 2009-11-08 17:38:46 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-11-08 17:38:46 +0100 |
commit | 74497ee46cae8ba800228b8820cc474331c8f27a (patch) | |
tree | 62323ad9b72aa7f9da366130784e27bd2fbce266 /lib/Multi | |
parent | 047ea9eedbb84573cc68ccb1320fdb32234ccc39 (diff) |
API: Added producer filter to the get release command
LOLHTMLTABLES.
Diffstat (limited to 'lib/Multi')
-rw-r--r-- | lib/Multi/API.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm index 101d8c29..03d43a6f 100644 --- a/lib/Multi/API.pm +++ b/lib/Multi/API.pm @@ -521,6 +521,8 @@ sub get_release { [ inta => 'r.id :op:(:value:)', {'=' => 'IN', '!=' => 'NOT IN'}, join => ',' ], ], [ 'vn', [ 'int' => 'rr.id IN(SELECT rv.rid FROM releases_vn rv WHERE rv.vid = :value:)', {'=',1} ], + ], [ 'producer', + [ 'int' => 'rr.id IN(SELECT rp.rid FROM releases_producers rp WHERE rp.pid = :value:)', {'=',1} ], ], [ 'title', [ str => 'rr.title :op: :value:', {qw|= = != <>|} ], [ str => 'rr.title ILIKE :value:', {'~',1}, process => \'like' ], |