AnsweredAssumed Answered

Help using custom date operator in filter

Question asked by Adam Adkins on Feb 28, 2018
Latest reply on Mar 2, 2018 by Adam Adkins

I'm trying to set up some filters to use a custom operator called "before_tomorrow". It does just that -- any dates before tomorrow should appear. I have the operator working -- I can use it in listview filters I make -- but I'm struggling to get it working with some custom filters.

 

I can't figure out how to make it work. I've tried many things. I'll share what I thought would work but didn't:

 

array (
          'quote_expiration_c' => array(
                  '$lt' => 'before_tomorrow'
           ),
            'eos_quote_number_c' => array(
                 '$gt' => ' ',
            ),
),

 

That did not work. Any help would be great!

André Lopes

Outcomes