CMS MADE SIMPLE FORGE

LISE

 

[#10919] Date search

avatar
Created By: Eugène Broeren (broere)
Date Submitted: 2016-03-04 04:35

Assigned To: Fernando Morgado (JoMorg)
Resolution: Fixed
State: Open
Summary:
Date search
Detailed Description:
Hello JoMorg,

Nice job LISE !!   I've got one question. I can't find it in the forum.

Is this possible ?  

I'm looking for a selection of a date-scope.  I see that the date is saved "as
it is".
I want to filter alle records where the date is 7 days old.  I've looked for
that one in the Smarty manual ;-)  That's working.  Maybe i'm missing some
options for "between" andso in reflection of the "search_" and filter
parameters.

{assign var=fromdate value="-7 days"|date_format:"%Y-%m-%d"}
{assign var=todate value="+7 days"|date_format:"%Y-%m-%d"}
{$fromdate} -> working
{$todate}  -> working

{LISEModule template_summary="Team" orderby='custom_datum_tijd|ASC'
search_datum_tijd="26-02-2016 10:26" } -> works (if my records is exacly the
same

...

Thanks anyway !





History

Comments
avatar
Date: 2016-05-28 11:14
Posted By: Fernando Morgado (JoMorg)

I'll take a look at it, to see if it's possible and how... thanks for the
suggestion.
      
avatar
Date: 2018-08-21 09:10
Posted By: Fernando Morgado (JoMorg)

New LISE version will have a new search_* set of parameters that will allow you
to filter by ranges if needed. Release is eminent. Thanks
      
Updates

Updated: 2018-08-21 09:10
resolution_id: 6 => 7

Updated: 2016-05-28 11:14
resolution_id: => 6