From 86e482838cd50eb5aac6d58209a59c6917722be4 Mon Sep 17 00:00:00 2001
From: Elena ``of Valhalla'' Grandi <valhalla@trueelena.org>
Date: Fri, 24 Dec 2021 10:24:18 +0100
Subject: Use some new features in the ticket tracker example

---
 docs/examples/ticket_tracker/settings.yaml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'docs')

diff --git a/docs/examples/ticket_tracker/settings.yaml b/docs/examples/ticket_tracker/settings.yaml
index 67e87d0..a421feb 100644
--- a/docs/examples/ticket_tracker/settings.yaml
+++ b/docs/examples/ticket_tracker/settings.yaml
@@ -2,6 +2,10 @@ name: Our tasks
 lang: english
 entry_label: '{{ short_id }}: {{ name }} [{{ status }}]'
 git: true
+search_aliases:
+  open: '(status:planned OR status:ready OR status:"in progress" OR status:comments)'
+  active: '(status:"in progress" OR status:comments)'
+  closed: '(status:done OR status:invalid)'
 fields:
 - name: name
   type: string
@@ -13,8 +17,14 @@ fields:
 - name: status
   type: text
   index: field
-  help: planned|ready|in progress|comments|done|invalid
   sortable: true
+  values:
+    - planned
+    - ready
+    - in progress
+    - comments
+    - done
+    - invalid
 - name: assignee
   type: string
   index: field
-- 
cgit v1.2.3