fava icon indicating copy to clipboard operation
fava copied to clipboard

Search completion issue when searching payee: field with unescaped `*` character

Open alexandre-janniaux opened this issue 1 year ago • 2 comments

Hi,

I've met an issue with the search completion where it suggests an unescaped string (I'm searching for "leroy"):

image

leading to the account being empty

image

If I escape the string correctly, I do get the correct payee subacount:

image

Tested on fava-1.29.dev3+g365cd5dc

alexandre-janniaux avatar Aug 12 '24 17:08 alexandre-janniaux

Yeah, I guess we need to escape those suggestions. A PR with a fix would be welcome.

yagebu avatar Sep 11 '24 17:09 yagebu

I've found where to modify the generated suggestion but didn't have time to actually test. I'll send the PR in the next weeks hopefully!

alexandre-janniaux avatar Sep 11 '24 17:09 alexandre-janniaux

Fixed in https://github.com/beancount/fava/commit/a45e7f688e433729e7a3d97bff18cf7cda1cd102

yagebu avatar Dec 07 '24 12:12 yagebu