Add new search attributes: created, modified and updated

This commit is contained in:
Frederic Guillot
2015-07-18 17:22:49 -04:00
parent 7d9f3e7bc4
commit e7ff62f5e3
4 changed files with 167 additions and 69 deletions

View File

@@ -31,95 +31,61 @@ Search by assignee
Attribute: **assignee**
Query with the full name:
- Query with the full name: `assignee:"Frederic Guillot"`
- Query with the username: `assignee:fguillot`
- Multiple assignee lookup: `assignee:user1 assignee:"John Doe"`
- Query for unassigned tasks: `assignee:nobody`
- Query for my assigned tasks: `assignee:me`
```
assignee:"Frederic Guillot"
```
Query with the username:
```
assignee:fguillot
```
Multiple assignee lookup:
```
assignee:user1 assignee:"John Doe"
```
Kanboard will search tasks assigned to the "user1" or "John Doe".
Query for unassigned tasks:
```
assignee:nobody
```
Query for my assigned tasks
```
assignee:me
```
Note: Results will also include subtasks assignee with the status todo or in progress.
Note: Kanboard will also search in assigned subtasks with the status todo and in progress.
Search by color
---------------
Attribute: **color**
Query to search by color id:
```
color:blue
```
Query to search by color name:
```
color:"Deep Orange"
```
- Query to search by color id: `color:blue`
- Query to search by color name: `color:"Deep Orange"`
Search by due date
------------------
Attribute: **due**
Query to search tasks due today:
```
due:today
```
Query to search tasks due tomorrow:
```
due:tomorrow
```
Query to search tasks due yesterday:
```
due:yesterday
```
Query to search tasks due with the exact date:
```
due:2015-06-29
```
- Search tasks due today: `due:today`
- Search tasks due tomorrow: `due:tomorrow`
- Search tasks due yesterday: `due:yesterday`
- Search tasks due with the exact date: `due:2015-06-29`
The date must use the ISO8601 format: **YYYY-MM-DD**.
Operators supported:
All string formats supported by the `strtotime()` function are supported, by example `next Thursday`, `-2 days`, `+2 months`, `tomorrow`, etc...
Operators supported with a date:
- Greater than: **due:>2015-06-29**
- Lower than: **due:<2015-06-29**
- Greater than or equal: **due:>=2015-06-29**
- Lower than or equal: **due:<=2015-06-29**
Search by modification date
---------------------------
Attribute: **modified** or **updated**
The date formats are the same as the due date.
There is also a filter by recently modified tasks: `modified:recently`.
This query will use the same value as the board highlight period configured in settings.
Search by creation date
-----------------------
Attribute: **created**
Works in the same way as the modification date queries.
Search by description
---------------------