diff options
-rw-r--r-- | data/docs/11 | 6 | ||||
-rw-r--r-- | lib/Multi/API.pm | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/data/docs/11 b/data/docs/11 index 17f93186..86b8188e 100644 --- a/data/docs/11 +++ b/data/docs/11 @@ -1167,10 +1167,10 @@ however still required.<br /> </tr> <tr class="odd"> <td>vn</td> - <td>id</td> + <td>integer<br />array of integers</td> <td>=</td> - <td>Find characters linked to the given visual novel ID. Note that this may - also include characters that are normally hidden by spoiler settings. + <td>Find characters linked to the given visual novel ID(s). Note that this + may also include characters that are normally hidden by spoiler settings. </td> </tr> </table> diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm index baa8b93d..d09937e3 100644 --- a/lib/Multi/API.pm +++ b/lib/Multi/API.pm @@ -829,6 +829,7 @@ my %GET_CHARACTER = ( ], vn => [ [ 'int' => 'c.id IN(SELECT cv.id FROM chars_vns cv WHERE cv.vid = :value:)', {'=',1}, range => [1,1e6] ], + [ inta => 'c.id IN(SELECT cv.id FROM chars_vns cv WHERE cv.vid IN(:value:))', {'=',1}, range => [1,1e6], join => ',' ], ], }, ); |