From 8288998ba15f30699d357c68e97642d24888c8f5 Mon Sep 17 00:00:00 2001 From: Jamie McCarthy Date: Wed, 23 Jun 2004 16:12:03 +0000 Subject: [PATCH] Typofix, and better search story webpage title. --- plugins/Search/Search.pm | 2 +- plugins/Search/search.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Search/Search.pm b/plugins/Search/Search.pm index 2c75dc736..f7fbd20ac 100644 --- a/plugins/Search/Search.pm +++ b/plugins/Search/Search.pm @@ -263,7 +263,7 @@ sub findStory { # Don't return just one topic id in tid, make it an arrayref # to all topic ids -- in the preferred order. for my $story (@$stories) { - $story->{tid} = $self->getTopiclistForStory($story->{stoid}); + $story->{tid} = $reader->getTopiclistForStory($story->{stoid}); } return $stories; diff --git a/plugins/Search/search.pl b/plugins/Search/search.pl index a955c49fc..535c7a22c 100755 --- a/plugins/Search/search.pl +++ b/plugins/Search/search.pl @@ -73,7 +73,7 @@ sub main { } else { # Yep, these are hardcoded, and someday this should change... -Brian my $text = strip_notags($form->{query}); - header("$constants->{sitename}: Search $text") or return; + header("$constants->{sitename}: Search '$text'") or return; titlebar("100%", getData('search_result', { text => $text })); $form->{op} = 'stories' unless exists $ops{$form->{op}};