Skip to content

Commit db3c0cd

Browse files
committed
codinguser#869 - Remove fetchAccountsOrderedByFullName() method in order to use fetchAccountsOrderedByFavoriteAndFullName()
1 parent 844269e commit db3c0cd

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

app/src/main/java/org/gnucash/android/db/adapter/AccountsDbAdapter.java

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -731,20 +731,21 @@ public Cursor fetchAccounts(@Nullable String where, @Nullable String[] whereArgs
731731
null, where, whereArgs, null, null,
732732
orderBy);
733733
}
734-
735-
/**
736-
* Returns a Cursor set of accounts which fulfill <code>where</code>
737-
* <p>This method returns the accounts list sorted by the full account name</p>
738-
* @param where SQL WHERE statement without the 'WHERE' itself
739-
* @param whereArgs where args
740-
* @return Cursor set of accounts which fulfill <code>where</code>
741-
*/
742-
public Cursor fetchAccountsOrderedByFullName(String where, String[] whereArgs) {
743-
Log.v(LOG_TAG, "Fetching all accounts from db where " + where);
744-
return mDb.query(AccountEntry.TABLE_NAME,
745-
null, where, whereArgs, null, null,
746-
AccountEntry.COLUMN_FULL_NAME + " ASC");
747-
}
734+
735+
// #869
736+
// /**
737+
// * Returns a Cursor set of accounts which fulfill <code>where</code>
738+
// * <p>This method returns the accounts list sorted by the full account name</p>
739+
// * @param where SQL WHERE statement without the 'WHERE' itself
740+
// * @param whereArgs where args
741+
// * @return Cursor set of accounts which fulfill <code>where</code>
742+
// */
743+
// public Cursor fetchAccountsOrderedByFullName(String where, String[] whereArgs) {
744+
// Log.v(LOG_TAG, "Fetching all accounts from db where " + where);
745+
// return mDb.query(AccountEntry.TABLE_NAME,
746+
// null, where, whereArgs, null, null,
747+
// AccountEntry.COLUMN_FULL_NAME + " ASC");
748+
// }
748749

749750
/**
750751
* Returns a Cursor set of accounts which fulfill <code>where</code>

0 commit comments

Comments
 (0)