Skip to content

Commit e71b70a

Browse files
committed
disabled function to keep table sorted per default. Enable it in the constructor if needed
1 parent 1c1d6dc commit e71b70a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

TransactionTable/AccountTransactions/AccountTransactionsTable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public partial class AccountTransactionsTable : TransactionsTable
2323
/// <param name="file"></param>
2424
/// <param name="splitByMonths"></param>
2525
/// <param name="keepTimeSorted"></param>
26-
public AccountTransactionsTable(FileInfo file, bool splitByMonths, bool keepTimeSorted = true)
26+
public AccountTransactionsTable(FileInfo file, bool splitByMonths, bool keepTimeSorted = false)
2727
: base(file, splitByMonths, AccountTableHeaders.ToStringArray(), keepTimeSorted)
2828
{
2929
// You can add more initialization here if necessary

TransactionTable/PortfolioTransactions/PortfolioTransactionsTable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public partial class PortfolioTransactionsTable : TransactionsTable
1818
{
1919
// Derived class specific properties, fields, and methods go here
2020

21-
public PortfolioTransactionsTable(FileInfo file, bool splitByMonths, bool keepTimeSorted = true)
21+
public PortfolioTransactionsTable(FileInfo file, bool splitByMonths, bool keepTimeSorted = false)
2222
: base(file, splitByMonths, PortfolioTableHeaders.ToStringArray(), keepTimeSorted)
2323
{
2424
// You can add more initialization here if necessary

TransactionTable/TransactionsPreset/TransactionsTable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public partial class TransactionsTable
1818
/// <summary>
1919
/// Initializes a new instance of the AccountTransactionsTable class.
2020
/// </summary>
21-
public TransactionsTable(FileInfo file, bool splitByMonths, string[] headers, bool keepTableTimeSorted = true)
21+
public TransactionsTable(FileInfo file, bool splitByMonths, string[] headers, bool keepTableTimeSorted = false)
2222
{
2323
_SplitByMonth = splitByMonths;
2424
_FileNameWithoutExtension = Path.GetFileNameWithoutExtension(file.Name);

0 commit comments

Comments
 (0)