Ricardo Rodriguez ( User ) 9 months ago
I'm making a custom module that allows me to see every payment/revenue made to the company wheter it's a payment wish cash or a payment withing a bill. So far its okey, the problem comes when I try to use the sort features. This is the code I have https://i.imgur.com/KFk20et.png (from the controller I just return this method). The problem is that when I click on the sortable link it sorts them individually as you can see here (https://i.imgur.com/qUvdXb3.png).
Do you have any suggestions ? I also have in mind to use ViewComposers