Add DATE_ENTERED parameter into the searchable fields

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7074 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-07-02 22:08:00 +00:00
parent bbe97eea70
commit 94946605f6
2 changed files with 2 additions and 0 deletions

View File

@ -864,6 +864,7 @@ gboolean gncEntryRegister (void)
{
static QueryObjectDef params[] = {
{ ENTRY_DATE, QUERYCORE_DATE, (QueryAccess)gncEntryGetDate },
{ ENTRY_DATE_ENTERED, QUERYCORE_DATE, (QueryAccess)gncEntryGetDateEntered },
{ ENTRY_DESC, QUERYCORE_STRING, (QueryAccess)gncEntryGetDescription },
{ ENTRY_ACTION, QUERYCORE_STRING, (QueryAccess)gncEntryGetAction },
{ ENTRY_NOTES, QUERYCORE_STRING, (QueryAccess)gncEntryGetNotes },

View File

@ -118,6 +118,7 @@ void gncEntryCommitEdit (GncEntry *entry);
int gncEntryCompare (GncEntry *a, GncEntry *b);
#define ENTRY_DATE "date"
#define ENTRY_DATE_ENTERED "date-entered"
#define ENTRY_DESC "desc"
#define ENTRY_ACTION "action"
#define ENTRY_NOTES "notes"