Developer forum

Forum » CMS - Standard features » Query string filtering between dates

Query string filtering between dates

António Ramos
Reply

Hi guys,

I was trying to get all news from one month, using the "examples" below. 

"(...)

DateAndTime=2014-08-01 (equal)
DateAndTime=2014-08-01&DateAndTime.op=< (before)
DateAndTime=2014-08-01&DateAndTime.op=lt (before)
DateAndTime=2014-08-01&DateAndTime.op=> (after)
DateAndTime=2014-08-01&DateAndTime.op=gt (after)"

http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Items/Item-publisher.aspx#31946

It appears that he ignores the combination of two fields. I use the following query:

&PublishedDate=01-10-2014&PublishedDate.op=>&PublishedDate=30-10-2014&PublishedDate.op=<

It's possible to do this based on query string?

Best regards,

António Ramos

 

 

 


Replies

 
António Ramos
Reply

bump

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi António

It is currently not possible to configure the use of the OR operator, which is what you want. It has a hardcoded AND operator on the filters. When using the filter settings on the paragraph, it is configurable. We will implement it for QS as well. TFS#17738

BR Nicolai

Votes for this answer: 1
 
António Ramos
Reply

Hi Nicolai,

Thank you for the answer.

Best Regards,

António Ramos

 

You must be logged in to post in the forum