mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
allow unconstrained date browsing in register
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1268 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9106339070
commit
560ce9f667
@ -32,12 +32,6 @@
|
||||
#include "Transaction.h"
|
||||
#include "util.h"
|
||||
|
||||
/* the MAX_QUERY_SPLITS define determines how many transactions should be shown
|
||||
* in the register. Its set to a default of 30. But this should be converted
|
||||
* into a user-configurable value. So hack-alert on the configuration aspect.
|
||||
*/
|
||||
#define MAX_QUERY_SPLITS 30
|
||||
|
||||
/** GLOBALS *********************************************************/
|
||||
/* These are globals because they describe the state of the entire session.
|
||||
* The is, there must be only one instance of these per GUI session.
|
||||
|
@ -32,6 +32,21 @@
|
||||
#include "SplitLedger.h"
|
||||
#include "Transaction.h"
|
||||
|
||||
/* the MAX_QUERY_SPLITS define determines how many transactions should be shown
|
||||
* in the register. Its set to a default of 30. But this should be converted
|
||||
* into a user-configurable value. So hack-alert on the configuration aspect.
|
||||
*/
|
||||
#define MAX_QUERY_SPLITS 30
|
||||
|
||||
/* the MAX_QUERY_SPLITS_UNCLAMP define determines cap on how many transactions
|
||||
* should be shown in the register when uiser is browsing with dates. Its set
|
||||
* to a default of 1000, which should give user plenty of elbow room to browse,
|
||||
* and is still small enough to keep em out of trouble. This should be converted
|
||||
* into a user-configurable value. So hack-alert on the configuration aspect.
|
||||
*/
|
||||
#define MAX_QUERY_SPLITS_UNCLAMP 1000
|
||||
|
||||
|
||||
/** STRUCTS *********************************************************/
|
||||
/* The xaccLedgerDisplay struct describes a single register/ledger instance.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user