Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hledger-web register does not show From/To accounts #2227

Open
thielema opened this issue Sep 12, 2024 · 2 comments
Open

hledger-web register does not show From/To accounts #2227

thielema opened this issue Sep 12, 2024 · 2 comments

Comments

@thielema
Copy link
Contributor

The Register page of current hledger-web-40 with an inacct query does not show To/From accounts for many transactions, even if there are only two accounts involved in the transaction, i.e. the To/From accounts column needs to display only one account.

Last time it worked correctly in hledger-web-1.32, but fails in hledger-web-1.33.

@thielema
Copy link
Contributor Author

thielema commented Sep 13, 2024 via email

@thielema
Copy link
Contributor Author

Problem is that the rewritten code with tailDef always removes the last account, whereas the original intention was to replace all accounts by a comma except the last one.
I have a patch here using NonEmpty. I'll submit it shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant