jtxBoard icon indicating copy to clipboard operation
jtxBoard copied to clipboard

[BUG] or possibly [FEATURE to fix BUG] Clear Filter also resets Sorting options

Open rogercreagh opened this issue 4 months ago • 2 comments

Describe the bug In journals if you have a filter applied the "Clear Filters" option ALSO resets the Sorting settings to some weird default.

To Reproduce Journal List view Sort by date descending (which should be the default imo) Apply a filter Use the three dots Clear Filter option

Expected behaviour Only the filter should be cleared. NOT any sorting options Reset Sort should be a separate second option on that menu (and the default sort should be a preset option) Possibly a third option on menu could be Clear Filter & Sort

Device and version

  • Device:: Any device
  • Any Android version:
  • jtx Board version: [e.g. 2.11.04 but it has been doing this for some time - from recollection it didn't used to, but I've finally got annoyed enough by it to report it.
  • Downloaded from: wherever

rogercreagh avatar Aug 29 '25 21:08 rogercreagh

Hi @rogercreagh , I can't reproduce this issue. Are you talking about the "No filter" button in the filter presets? This button should not impact the sort order. Does also the selection in the Group/Sort tab change?

patrickunterwegs avatar Sep 18 '25 17:09 patrickunterwegs

@patrickunterwegs

Here's a way of reproducing it. (I think I have seen the same behaviour when just changing filter settings, but not consistently and I might be wrong)

  • Display all journal entries sorted with the most recent at the top ( Sort Date Descending, the default for me - I almost never use any other sort order)
  • tap the three bars menu at the top, select collections, tap on one collection.
  • this shows only entries from that collection in the correct sort order (Date Descending)
  • using the three dots at the bottom select Clear Filters OR use the filter button at the bottom and select no filter (both have same effect)
  • all entries are displayed again but the sort order has been changed to Created Ascending.

Changing the filter should not change the sort order however you do it.

Perhaps there needs to be an additional setting for default sort order, and an option on the three dots for Default Sort as I appreciate that some people will want a different default

In addition could we have an extra sort condition By Collection to sort by collection name ascending or descending - I would find this very useful.

It seems that Date sort is using just the day part so can have a second level sort, whereas Created and Modified sort use the Datetime so that any second level sort doesn't work (unless you manage to create entries with the exact same datetime for Created or Modified) - this is not a problem, although it might help clarify it if the entire second sort level was greyed out if you selected Created or Modified for the first level.

Finally yes, the selection in the Group/Sort tab is being changed.

rogercreagh avatar Sep 19 '25 07:09 rogercreagh