mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 795064 - Enable subtotal-only if either sortkeys are dates
This will allow 'show subtotals only' if sortkeys are date-types. This allows, for example, prime-sortkey=date, yearly. sec-sortkey=date, monthly.
This commit is contained in:
parent
4ba77f7b09
commit
044583d72f
@ -630,7 +630,9 @@ tags within description, notes or memo. ")
|
|||||||
(gnc-option-db-set-option-selectable-by-name
|
(gnc-option-db-set-option-selectable-by-name
|
||||||
options pagename-sorting optname-show-subtotals-only
|
options pagename-sorting optname-show-subtotals-only
|
||||||
(or (and prime-sortkey-subtotal-enabled prime-sortkey-subtotal-true)
|
(or (and prime-sortkey-subtotal-enabled prime-sortkey-subtotal-true)
|
||||||
(and sec-sortkey-subtotal-enabled sec-sortkey-subtotal-true)))
|
(and sec-sortkey-subtotal-enabled sec-sortkey-subtotal-true)
|
||||||
|
prime-date-sortingtype-enabled
|
||||||
|
sec-date-sortingtype-enabled))
|
||||||
|
|
||||||
(gnc-option-db-set-option-selectable-by-name
|
(gnc-option-db-set-option-selectable-by-name
|
||||||
options pagename-sorting optname-show-informal-headers
|
options pagename-sorting optname-show-informal-headers
|
||||||
|
Loading…
Reference in New Issue
Block a user