# Feature OP-18029 - Add week bounded date filters

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-18029

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Work packages, Modules and project features / Query and filter |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a OP user/admin  
**I want to** filter workpackages and projects&nbsp;  
**so that** needed dates are filtered with week boundaries.

**Acceptance criteria**

*   new operators allow to filter WPs like existing &quot;This week&quot; combined with &quot;&gt;t+&quot;, &quot;t-&quot; and all the others 
    

**Technical notes**

*   add new operators to date and date\_time\_past strategies: \[&quot;&lt;w+&quot;, &quot;&gt;w+&quot;, &quot;w+&quot;, &quot;&gt;w-&quot;, &quot;&lt;w-&quot;, &quot;w-&quot;\]
    
*   Operator should filter as according &quot;by day&quot; filter.
    
*   Implementation question: do we need to include current week or not?
    

**Translation considerations**

*   _operator naming can be tricky_
    

**Examples:**

*   &quot;w+&quot; and &quot;w-&quot; with value = 0 completely equal to current &quot;w&quot; this week.
    
*   &quot;w+&quot; with value = 2 returns one week in 2 weeks since with current user localization.
