mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add a new QOF_TYPE_NUMSTRING to add numeric sorts. (#150799).
This new type is like QOF_TYPE_STRING but it sorts numerically (first) and then sorts alphanumerically (by the tail of the number). Added the QOF Type, the gnome-search support, and modified TRANS_NUM to use the new type. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14892 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1966,7 +1966,7 @@ trans_is_balanced_p (const Transaction *trans)
|
||||
gboolean xaccTransRegister (void)
|
||||
{
|
||||
static QofParam params[] = {
|
||||
{ TRANS_NUM, QOF_TYPE_STRING,
|
||||
{ TRANS_NUM, QOF_TYPE_NUMSTRING,
|
||||
(QofAccessFunc)xaccTransGetNum,
|
||||
(QofSetterFunc)qofTransSetNum },
|
||||
{ TRANS_DESCRIPTION, QOF_TYPE_STRING,
|
||||
|
||||
Reference in New Issue
Block a user