|
From: Jamie M. <ja...@mc...> - 2001-11-04 15:47:06
|
sla...@i1... (barry) writes:
> Oh you know what - I took that line out a couple of days ago
> because i wanted http://[site]/search.pl to end up with an
> empty list so it is just a plain old search form. I guess
> this is an unintended side effect. Is there another way to
> do that?
Well, you might try only zeroing out $form->{op} if no
$form->{start} value is specified, or maybe if there are no
$form keys at all. That would make it only go blank if
search.pl really was called by itself, no parameters.
As you mentioned, the getOlderStories template could use an
"op=stories" parameter added to that URL. That won't hurt
anything, it'll just make it work with your version of
search.pl.
You'll want to look through other templates for search.pl URLs
as well. Whenever you make a change, grep is your friend :)
--
Jamie McCarthy
ja...@mc...
|