mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Allow to use the created timestamp in item queries
Refs: 925
This commit is contained in:
@ -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] =
|
||||
|
Reference in New Issue
Block a user