{"id":25,"date":"2026-03-25T15:42:00","date_gmt":"2026-03-25T15:42:00","guid":{"rendered":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/building-custom-filters\/"},"modified":"2026-03-25T15:42:00","modified_gmt":"2026-03-25T15:42:00","slug":"building-custom-filters","status":"publish","type":"post","link":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/building-custom-filters\/","title":{"rendered":"Building custom filters"},"content":{"rendered":"<p class=\"has-large-font-size\">Filters are how you turn &#8220;everything&#8221; into &#8220;exactly the tasks I care about right now.&#8221; Lattica&#8217;s filter builder is a small AND\/OR tree \u2014 but most filters are one or two clauses.<\/p>\n<h2>The simple cases<\/h2>\n<p>From any view, click <strong>Filter<\/strong> and pick a field:<\/p>\n<ul>\n<li><em>Assignee is me<\/em> \u2192 all your open tasks<\/li>\n<li><em>Status is not Done<\/em> \u2192 active work<\/li>\n<li><em>Due date is this week<\/em> \u2192 what&#8217;s hot<\/li>\n<li><em>Priority is High or Urgent<\/em> \u2192 focus list<\/li>\n<li><em>Tag contains #bug<\/em> \u2192 bugs only<\/li>\n<\/ul>\n<h2>Combining filters<\/h2>\n<p>Click <strong>+ Add condition<\/strong> to AND another clause. Click <strong>+ Group<\/strong> to start an OR group inside an AND. Most teams stop at three or four clauses; if you need more, save it as a view rather than rebuilding it each time.<\/p>\n<p>Example: tasks assigned to me OR tasks I created, that are open, and were updated in the last seven days.<\/p>\n<pre><code>(assignee = me OR creator = me)\nAND status != done\nAND updated &gt;= 7d ago<\/code><\/pre>\n<h2>Date filters<\/h2>\n<p>Beyond fixed dates, Lattica supports relative ranges that re-evaluate every time you open the view:<\/p>\n<ul>\n<li><code>today<\/code>, <code>tomorrow<\/code>, <code>yesterday<\/code><\/li>\n<li><code>this week<\/code>, <code>next week<\/code>, <code>last week<\/code><\/li>\n<li><code>this month<\/code>, <code>last 30 days<\/code><\/li>\n<li><code>n days from now<\/code> \/ <code>n days ago<\/code><\/li>\n<li><code>overdue<\/code> \u2014 due date in the past, status not Done<\/li>\n<\/ul>\n<h2>Filter URLs<\/h2>\n<p>Every filter state is reflected in the URL. Copy the URL and paste it into Slack \u2014 anyone who clicks gets the same filtered view. This is the easiest way to share &#8220;the four bugs I want triaged today&#8221; without screenshots.<\/p>\n<h2>Search inside a filter<\/h2>\n<p>The search box at the top of every view is additive \u2014 it filters the already-filtered results by title, description, or comment text. Useful when you have 200 tasks matching your filter and want the one about login redirects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Single-clause filters, AND\/OR combinations, relative date ranges, and shareable filter URLs.<\/p>\n","protected":false},"author":0,"featured_media":26,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[31,32,27],"class_list":["post-25","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-views-reports","tag-filters","tag-search","tag-views"],"_links":{"self":[{"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":0,"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/media\/26"}],"wp:attachment":[{"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.fasterthemes.com\/mywiki-wordpress-theme\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}