Stored search with Calendar Search Page

Hi,


I'm trying to use the handy new Calendar search page asset introduced in 4.8:

http://manuals.matrix.squizsuite.net/calendar/chapters/calendar-events-search-page



I have created a working Calendar search page asset with a Events Filter Field called "dates" which is to be a Date Range Filter and its all working fine when I submit search queries.



BUT I actually need to do a stored search. The "dates" field I created shows up fine on the details page in the drop down of available fields in the Stored Search section of the details page, but I ran into the problem of not being able to find any documentation on how to format the value to put into stored search parameter (eg. from a GET parameter)??



Any help would be most appreciated.



thanks,

Maks.

Hi Maks,


The value for stored search parameter for the date filters are expected to be in the following format:



For Single Date filter: [DATE]

For Range Date filter: [FROM_DATE],[TO_DATE]

where, all dates should in YYYY-MM-DD format



For Fuzzy Dropdown filter: [FUZZY_TYPE]

For Fuzzy Checkbox filter: [FUZZY_TYPE1],[FUZZY_TYPE2],…

where, [FUZZY_TYPE] should be one of the below:



  • today
    [*] tomorrow
    [*] yesterday
    [*] this_weekend
    [*] next_weekend
    [*] previous_weekend
    [*] this_week
    [*] next_week
    [*] previous_week
    [*] this_fortnight
    [*] next_fortnight
    [*] previous_fortnight
    [*] this_month
    [*] next_month
    [*] previous_month
    [*] this_year
    [*] next_year
    [*] previous_year
    [*] anytime


For example for a Date Range filter if you have date filter parameter with soruce 'set value' set to "2012-01-01,2012-01-31", means the filter1 will filter the calendar events from 2012-01-01 to 2012-01-31.

I will make sure to doucment this info in the manuals.

Chiran

manual will be updated for this information. Thanks

Wow, thats exactly what I was after, thanks Chiran!


Maks.