diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-27 21:52:42 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-27 21:52:42 +0100 |
commit | aab0799e5de4a7f099c22cd6ee838a38436018d7 (patch) | |
tree | 3711af683cabffc068e2cb214360ea2c487c5089 /lib | |
parent | d4ebc3a51dfe4c0ad70c2a175e46226cb291cfe4 (diff) |
Return qstring to handler for logging.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/LXRng/Web.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/LXRng/Web.pm b/lib/LXRng/Web.pm index 0a49a16..13867cc 100644 --- a/lib/LXRng/Web.pm +++ b/lib/LXRng/Web.pm @@ -833,9 +833,11 @@ sub handle { if ($context->path =~ /^[+ ](search|code|ident|file|text|ambig)(?:=(.*)|)/) { + my $qstring = $2 || $context->param('search'); search_result($context, $template, $query, search($context, $template, $1, $2)); $context->path(''); + return $qstring; } else { source($context, $template, $query); |