summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-05-17 15:34:20 +0200
committerYorhel <git@yorhel.nl>2011-05-17 15:34:20 +0200
commitfdb4a5ca6f1234065e53638a3497d783983acef9 (patch)
tree847635c02c751058c2a96ce2ca51df8eb98d9833
parente150502467dca3174d00685269af75f4cda76fcc (diff)
Added i+/c+ ID recognition to VN search
-rw-r--r--ChangeLog1
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 33156b82..5eba14ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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};