[Xapian-discuss] problem with empty field in omegascript 1.0.7

Hylke Witjens hylke at tweakers.net
Wed Oct 22 07:55:18 BST 2008


On Tue, 2008-10-21 at 22:03 +0100, Olly Betts wrote:
> On Tue, Oct 21, 2008 at 04:21:03PM +0200, Hylke Witjens wrote:

Hi,

> > $if{$field{lead},$field{text},$field{lead}}}
> 
> This is backwards - if field "lead" contains something, it expands to
> field "text"; otherwise it expands to the empty field "lead"!
It works! Thanks :)

Greetings,

Hylke Witjens





More information about the Xapian-discuss mailing list