• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switch Library & User Filters
#1
When I change the MobileSheets library my user defined filters seem to be still there, but they don't work as expected:
The "source types" selection that I stored in the filter selects completely different source type values
               
The same source types also exist in the other database. When I select them manually filtering works as expected.

I think I understand the reason: in User_Filters.xml source types (and also colllections and other fields) are stored by their database ID, index or the like, but that ID points to a different source type in the other database.
   

What can be done? Can you fix that easily or could you recommend a feasible workaround?
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#2
" The same source types also exist in the other database ..." is not completely correct. Source types with the same names exist, but not all exist in both databases. Probably I have entered them independently. I cannot tell exactly, my MobileSheets history is a long and winding road.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#3
There is no easy solution for this for existing saved filters unfortunately. The filter saving/loading was implemented before the addition of the "Switch library" feature, so I didn't think about the fact that the database ID is being stored which won't work across libraries. I'll have to change this to instead store the name of the group, and then do a slower lookup by name when the filter file is loaded. I'll add this to 3.9.0 list of things to do.

Thanks,
Mike
Reply
#4
Thanks for your answer. I'm waiting for even more important features of 3.9.0 anyway ...
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.