mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 17:55:06 +00:00
Include item notes in search
This commit is contained in:
parent
d2edddd238
commit
9b66604b96
@ -194,7 +194,8 @@ object QItem {
|
||||
IC.cid.prefix("i").is(q.collective),
|
||||
IC.state.prefix("i").isOneOf(q.states),
|
||||
IC.incoming.prefix("i").isOrDiscard(q.direction),
|
||||
name.map(n => IC.name.prefix("i").lowerLike(n)).getOrElse(Fragment.empty),
|
||||
name.map(n => or(IC.name.prefix("i").lowerLike(n), IC.notes.prefix("i").lowerLike(n))).
|
||||
getOrElse(Fragment.empty),
|
||||
RPerson.Columns.pid.prefix("p0").isOrDiscard(q.corrPerson),
|
||||
ROrganization.Columns.oid.prefix("o0").isOrDiscard(q.corrOrg),
|
||||
RPerson.Columns.pid.prefix("p1").isOrDiscard(q.concPerson),
|
||||
|
@ -423,7 +423,7 @@ view model =
|
||||
]
|
||||
]
|
||||
, div [ class "field" ]
|
||||
[ label [] [ text "Name" ]
|
||||
[ label [] [ text "Name or Notes" ]
|
||||
, input
|
||||
[ type_ "text"
|
||||
, onInput SetName
|
||||
|
Loading…
x
Reference in New Issue
Block a user