All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Can't get gte and lte parameters to work in a form field.

Jason Boothman 26 Oct 2018 20:44 question, complete

Could you help me figure out how to get the gte and lte parameters to work?

I have two number fields ('from' & 'to'). I have tried every combination I can think of naming them to get the gte and lte to work (search:gte:price_from, gte:search:price_from, gte:price_from, search:price_from:gte, etc.) and can't get them to work.

I'm using EE 4.3.6 & Low Search 6.1.2

Replies

  1. Jason Boothman 26 Oct 2018 20:57

    Never-mind. I got this to work using the range-to and range-from options.

  2. Low 27 Oct 2018 06:53

    For the record, those parameters aren't pre/postfixes, but stand-alone parameters. So something like

    search:price_from="10" gte="search:price_from"

    translates to

    WHERE price_from >= 10