@@ -194,7 +194,7 @@ func (v *Vault) GetEntries(cardType string, filters []string) ([]Card, error) {
194194 rows , err := v .db .Query (`
195195 SELECT uuid, type, created_at, field_updated_at, title,
196196 subtitle, note, trashed, item.deleted, category,
197- label, value, key, last_used
197+ label, value, key, last_used, sensitive, item.icon
198198 FROM item
199199 INNER JOIN itemfield ON uuid = item_uuid
200200 ` )
@@ -212,11 +212,13 @@ func (v *Vault) GetEntries(cardType string, filters []string) ([]Card, error) {
212212 if err := rows .Scan (
213213 & card .UUID , & card .Type , & card .CreatedAt , & card .UpdatedAt , & card .Title ,
214214 & card .Subtitle , & card .Note , & card .Trashed , & card .Deleted , & card .Category ,
215- & card .Label , & card .value , & card .itemKey , & card .LastUsed ,
215+ & card .Label , & card .value , & card .itemKey , & card .LastUsed , & card . Sensitive , & card . Icon ,
216216 ); err != nil {
217217 return nil , errors .Wrap (err , "could not read card from database" )
218218 }
219219
220+ card .RawValue = card .value
221+
220222 // if item has been deleted
221223 if card .IsDeleted () {
222224 continue
0 commit comments