diff options
author | Yorhel <git@yorhel.nl> | 2011-01-03 10:41:08 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-01-03 10:41:08 +0100 |
commit | 5e339cadbec0f2eba02b85fddcc939f3d3330ba1 (patch) | |
tree | 7e06ecc7c2ebf8d62105ed4d0f94b24e0737f0a2 | |
parent | 27a6b53eacc143f9d349bd960fa57f2fcd23fa40 (diff) |
Bugfix-API: Use ~ for the get vn search filter instead of =
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/Multi/API.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ - Fixed perl warning on /u+/votes batchedit with nothing selected - Bugfix: Correctly randomize screenshots on homepage with filters - Bugfix: Don't show NSFW screenshots on homepage with filters + - Bugfix-API: Use ~ for the get vn search filter instead of = 2.16 - 2011-01-02 - VNDBUtil::bb2html(): Fixed bug when the string starts with a VNDBID diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm index 3f1b24c4..e7e7c092 100644 --- a/lib/Multi/API.pm +++ b/lib/Multi/API.pm @@ -473,7 +473,7 @@ sub get_vn { [ str => ':op: (v.c_olang && ARRAY[:value:]::language[])', {'=' => '', '!=' => 'NOT'} ], [ stra => ':op: (v.c_olang && ARRAY[:value:]::language[])', {'=' => '', '!=' => 'NOT'}, join => ',' ], ], [ 'search', - [ str => '(:value:)', {'=',1}, split => \&normalize_query, + [ str => '(:value:)', {'~',1}, split => \&normalize_query, join => ' AND ', serialize => 'v.c_search LIKE :value:', process => \'like' ], ], ]; |