simpletask-android icon indicating copy to clipboard operation
simpletask-android copied to clipboard

Saved filter has to be clicked twice for onSort to take effect

Open zagl opened this issue 4 years ago • 0 comments

I have a saved filter with onGroup and onSort lua sorting. When no filter or some other filter is active and I switch to the filter with lua script filtering, onSort does not take effect at first, onGroup works though. Wenn I press the saved filter in the right drawer a second time sorting works.

I also get the same behaviour with onSort alone and removed onGroup and I even tried a very simple sort function which just returns #f.text.

Lua-Script sorting has highest sort priority. The first sort run is according to the second sort priority. Lua-Script sorting seems to be ignored on the first run.

Maybe related to #1029

F-Droid version 10.5.5

zagl avatar Aug 23 '20 10:08 zagl