@@ -194,7 +194,7 @@ func (v *Vault) GetEntries(cardType string, filters []string) ([]Card, error) {
194
194
rows , err := v .db .Query (`
195
195
SELECT uuid, type, created_at, field_updated_at, title,
196
196
subtitle, note, trashed, item.deleted, category,
197
- label, value, key, last_used
197
+ label, value, key, last_used, sensitive, item.icon
198
198
FROM item
199
199
INNER JOIN itemfield ON uuid = item_uuid
200
200
` )
@@ -212,11 +212,13 @@ func (v *Vault) GetEntries(cardType string, filters []string) ([]Card, error) {
212
212
if err := rows .Scan (
213
213
& card .UUID , & card .Type , & card .CreatedAt , & card .UpdatedAt , & card .Title ,
214
214
& 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 ,
216
216
); err != nil {
217
217
return nil , errors .Wrap (err , "could not read card from database" )
218
218
}
219
219
220
+ card .RawValue = card .value
221
+
220
222
// if item has been deleted
221
223
if card .IsDeleted () {
222
224
continue
0 commit comments