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

Olly Betts olly at survex.com
Tue Oct 21 22:03:09 BST 2008


On Tue, Oct 21, 2008 at 04:21:03PM +0200, Hylke Witjens wrote:
> $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"!
    
Cheers,
    Olly



More information about the Xapian-discuss mailing list