I am using cf search (or rather the script based alternative in Railo) to do a basic keyword search, but I am getting an error when no criteria is entered.
What I would rather like to get back is an empty query object. Is this possible?
I can do checks on the string length etc using len(), but that would mean I never get the query object returned, which is what I would like.
Am I missing something here?
Thanks, Mikey.
As Peter said, as simple as:
OR