mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
REFACTOR: always run qof-query-destroyer
Formerly the qof-query-destroyer is only called upon completion of a successful report. This commit moves this destroyer to be nearer the query call, thereby the destroyer is always called.
This commit is contained in:
parent
fe757dbe6a
commit
7127df58da
@ -1562,7 +1562,7 @@ Credit Card, and Income accounts."))))))
|
|||||||
(else #f))
|
(else #f))
|
||||||
(set! splits (qof-query-run query))
|
(set! splits (qof-query-run query))
|
||||||
|
|
||||||
;;(gnc:warn "Splits in trep-renderer:" splits)
|
(qof-query-destroy query)
|
||||||
|
|
||||||
;; Combined Filter:
|
;; Combined Filter:
|
||||||
;; - include/exclude splits to/from selected accounts
|
;; - include/exclude splits to/from selected accounts
|
||||||
@ -1626,9 +1626,7 @@ Credit Card, and Income accounts."))))))
|
|||||||
(gnc-print-date begindate)
|
(gnc-print-date begindate)
|
||||||
(gnc-print-date enddate)))))
|
(gnc-print-date enddate)))))
|
||||||
|
|
||||||
(gnc:html-document-add-object! document table)
|
(gnc:html-document-add-object! document table)))))
|
||||||
|
|
||||||
(qof-query-destroy query)))))
|
|
||||||
|
|
||||||
(gnc:report-finished)
|
(gnc:report-finished)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user