Skip to content

Commit

Permalink
Merge pull request #2084 from moneymanagerex/fix_order_in_entity
Browse files Browse the repository at this point in the history
Fix Order in Entity...
  • Loading branch information
wolfsolver authored Jan 17, 2025
2 parents b59d5f5 + 841e97e commit 4378a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public class PayeeListFragment
// private static final long MENU_ITEM_ADD = 1;
private static final int ID_LOADER_PAYEE = 0;

private static final String SORT_BY_USAGE = "(SELECT COUNT(*) FROM CHECKINGACCOUNT_V1 WHERE PAYEEID = CHECKINGACCOUNT_V1.PAYEEID AND (CHECKINGACCOUNT_V1.DELETEDTIME IS NULL OR CHECKINGACCOUNT_V1.DELETEDTIME = '') ) DESC";
private static final String SORT_BY_NAME = "UPPER(" + Payee.PAYEENAME + ")";
private static final String SORT_BY_USAGE = "(SELECT COUNT(*) FROM CHECKINGACCOUNT_V1 WHERE PAYEE_V1.PAYEEID = CHECKINGACCOUNT_V1.PAYEEID AND (CHECKINGACCOUNT_V1.DELETEDTIME IS NULL OR CHECKINGACCOUNT_V1.DELETEDTIME = '') ) DESC";

private Context mContext;
private String mCurFilter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class TagListFragment extends BaseListFragment
private static final int ID_LOADER_TAG = 0;

private static final String SORT_BY_NAME = "UPPER(" + Tag.TAGNAME + ")";
private static final String SORT_BY_USAGE = "(SELECT COUNT(*) FROM TAGLINK_V1 WHERE TAGID = TAGLINK_V1.TAGID ) DESC";
private static final String SORT_BY_USAGE = "(SELECT COUNT(*) FROM TAGLINK_V1 WHERE TAG_V1.TAGID = TAGLINK_V1.TAGID ) DESC";

private Context mContext;
private String mCurFilter;
Expand Down

0 comments on commit 4378a18

Please sign in to comment.