Provide a more convenient interface to search

This commit is contained in:
Eike Kettner
2021-03-01 11:50:07 +01:00
parent e079ec1987
commit 698ff58aa3
3 changed files with 204 additions and 9 deletions

View File

@ -1,3 +1,9 @@
package docspell.common
case class ItemQueryString(query: String)
object ItemQueryString {
def apply(qs: Option[String]): ItemQueryString =
ItemQueryString(qs.getOrElse(""))
}