[Xapian-discuss] Problem with search results beyond first page in Omega
Olly Betts
olly at survex.com
Tue Apr 22 03:12:47 BST 2008
On Mon, Apr 21, 2008 at 06:51:10PM -0500, Yevgeny Binder wrote:
> On Apr 20, 2008, at 6:11 PM, Olly Betts wrote:
>
> > That's not the right value for xP - it's not just "P from the previous
> > query".
> >
> > But you shouldn't need to worry about this. If you don't pass xP,
> > then Omega will never force the first page of hits.
>
> You're right: I removed xP from my query, and everything works now.
> Thanks! But I'd still like to include xP. What's the right form for
> it, if not just the value for P?
Just copy how it's set in the templates shipped with Omega:
$if{$queryterms,<INPUT TYPE=hidden NAME=xP VALUE="$html{$queryterms}">}
Cheers,
Olly
More information about the Xapian-discuss
mailing list