diff options
author | Yorhel <git@yorhel.nl> | 2011-05-17 15:34:20 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-05-17 15:34:20 +0200 |
commit | fdb4a5ca6f1234065e53638a3497d783983acef9 (patch) | |
tree | 847635c02c751058c2a96ce2ca51df8eb98d9833 | |
parent | e150502467dca3174d00685269af75f4cda76fcc (diff) |
Added i+/c+ ID recognition to VN search
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/VNDB/Handler/VNBrowse.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ - Multi::Feed: Show full summary and refresh more often - Switched back to Algorithm::Diff::XS - Added secondary ordering on title on releases listing on VN page + - Added i+/c+ ID recognition to VN search - Bugfix: Properly make i+ IDs linkable in bb2html() 2.20 - 2011-05-01 diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm index d89048aa..869eeac8 100644 --- a/lib/VNDB/Handler/VNBrowse.pm +++ b/lib/VNDB/Handler/VNBrowse.pm @@ -29,7 +29,7 @@ sub list { my %compat = _fil_compat($self); return $self->resRedirect('/'.$1.$2.(!$3 ? '' : $1 eq 'd' ? '#'.$3 : '.'.$3), 'temp') - if $f->{q} && $f->{q} =~ /^([gvrptud])([0-9]+)(?:\.([0-9]+))?$/; + if $f->{q} && $f->{q} =~ /^([gvrptudci])([0-9]+)(?:\.([0-9]+))?$/; $f->{s} = 'title' if $f->{fil} !~ /tag_inc-/ && $f->{s} eq 'tagscore'; $f->{o} = $f->{s} eq 'tagscore' ? 'd' : 'a' if !$f->{o}; |