Today is possible set, thru Global Variables, with de filters is showed in ascending or descending order.
But i wish set a field in filters list, for this classification.
For example, when I create a filter with date field, I wish this registry is showed from the earliest date to the earliest date
How I can do that?
Hi @rslemer,
I have made the modification you indicate. This way I can configure any column order for any module using the global variables module.
Do you usually modify code? I'm just saying that to let you know what changes I've made.
Thanks
No, I never made any code changes, yet.
I will glad with you share with me, how I can do that.

(01-12-2018, 01:09 AM)rslemer Wrote: [ -> ] (01-10-2018, 02:17 PM)joebordes Wrote: [ -> ]Currently, filters do not have sort order. You can only have one default order and it is set in the code:
https://github.com/tsolucio/corebos/blob/master/vtlib/ModuleDir/ModuleFile.php#L97
But this global variable not change for asc or desc order? Application_ListView_Default_Sort_Order
Hi rslemer,
In my case, the code I have implemented is to make that variable work. Besides to contemplate the order that the user clicks. I hope to upload the changes in my repository so you can see it.
Follow us on the Telegram channel (
https://t.me/coreboscrm)
Hi @Kapsule
You can share your code with me?
Hi @Kapsule,
You can share thats code too?
Because the correct solution is to have each filter sort depending on their own conditions