Allow to use the created timestamp in item queries

Refs: 925
This commit is contained in:
eikek
2021-07-27 17:33:13 +02:00
parent ba3e2ae5fd
commit 15b15666bf
7 changed files with 24 additions and 2 deletions

View File

@ -228,6 +228,8 @@ object ItemQueryGenerator {
coalesce(tables.item.itemDate.s, tables.item.created.s).s
case Attr.DueDate =>
tables.item.dueDate.s
case Attr.CreatedDate =>
tables.item.created.s
}
private def stringColumn(tables: Tables)(attr: Attr.StringAttr): Column[String] =