{"id":10887,"date":"2025-06-02T03:28:55","date_gmt":"2025-06-02T03:28:55","guid":{"rendered":"https:\/\/www.portatour.com\/blog\/users\/?p=10887"},"modified":"2025-06-02T09:37:57","modified_gmt":"2025-06-02T09:37:57","slug":"extended-search-with-relative-date-filters","status":"publish","type":"post","link":"https:\/\/www.portatour.com\/blog\/users\/en\/2025\/06\/02\/extended-search-with-relative-date-filters\/","title":{"rendered":"Extended search with relative date filters"},"content":{"rendered":"<p>The extended search now also supports relative values in the filtering of date fields.<br \/>\nExample: <em>&#8220;customers, for which the last visit date is in the last 7 days.&#8221;<\/em><\/p>\n<p>Relative filters allow you to reuse<strong> saved searches with date filters<\/strong> without having to adjust them every time you use them.<\/p>\n<p>How to use relative date filters:<\/p>\n<ol>\n<li>Open an <strong>extended search<\/strong>.<\/li>\n<li>In the user-defined filter in the <strong>first selection box, select a date field<\/strong>. This gives the second selection box additional relative filter options.<\/li>\n<li>In the <strong>second selection box, select the desired relative filter<\/strong> (e.g. &#8220;last X days + today&#8221;).<\/li>\n<li><strong>If the filter contains an &#8220;X&#8221; as a placeholder, enter the desired numerical value<\/strong> (e.g. 7) in the <strong>input field<\/strong> next to it.<\/li>\n<li>Click on &#8220;<strong>Apply<\/strong>&#8220;.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Erweiterte-Suche-Relative-Datumsfilter-EN.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10610\" src=\"https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Erweiterte-Suche-Relative-Datumsfilter-EN.png\" alt=\"\" width=\"896\" height=\"203\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The extended search now also supports relative values in the filtering of date fields. Example: &#8220;customers, for which the last visit date is in the last 7 days.&#8221; Relative filters allow you to reuse saved searches with date filters without having to adjust them every time you use them. How to use relative date filters: [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,4],"tags":[],"class_list":["post-10887","post","type-post","status-publish","format-standard","hentry","category-anywhere-en","category-dynamics-crm-en"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts\/10887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/comments?post=10887"}],"version-history":[{"count":2,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts\/10887\/revisions"}],"predecessor-version":[{"id":10889,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts\/10887\/revisions\/10889"}],"wp:attachment":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/media?parent=10887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/categories?post=10887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/tags?post=10887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}