From 5cdc5158858a6d835b83c0952f4b5acdd85086a9 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sat, 23 Feb 2019 22:58:54 +0800 Subject: [PATCH] [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. --- gnucash/report/standard-reports/transaction.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnucash/report/standard-reports/transaction.scm b/gnucash/report/standard-reports/transaction.scm index 04918ece89..930bc999e1 100644 --- a/gnucash/report/standard-reports/transaction.scm +++ b/gnucash/report/standard-reports/transaction.scm @@ -1568,9 +1568,7 @@ be excluded from periodic reporting.") (gnc:make-html-table-cell/markup "number-cell" (if opt-use-links? - (gnc:html-transaction-anchor - (xaccSplitGetParent split) - cell-content) + (gnc:html-split-anchor split cell-content) cell-content))))) cells))))