[transaction] html anchor should target split

Previous would create html anchor to target the transaction containing
the report split.

This would mean the anchor would link the correct transaction, but
would always link to the first account in the transaction. This change
will ensure that the account containing the exact report split is
opened.
This commit is contained in:
Christopher Lam 2019-02-23 22:58:54 +08:00
parent 316a22a282
commit 5cdc515885

View File

@ -1568,9 +1568,7 @@ be excluded from periodic reporting.")
(gnc:make-html-table-cell/markup (gnc:make-html-table-cell/markup
"number-cell" "number-cell"
(if opt-use-links? (if opt-use-links?
(gnc:html-transaction-anchor (gnc:html-split-anchor split cell-content)
(xaccSplitGetParent split)
cell-content)
cell-content))))) cell-content)))))
cells)))) cells))))