I followed a Laracast to apply some orderBy capabilities to a table. I just want it to sort and reverse sort by clicking on a header. But, it does not seem to be updating my data variables after the initial sort. In the fiddle, click the "Active" header. The first time it will sort, and on subsequent attempts, nothing will happen.
I followed a Laracast to apply some orderBy capabilities to a table. I just want it to sort and reverse sort by clicking on a header. But, it does not seem to be updating my data variables after the initial sort. In the fiddle, click the "Active" header. The first time it will sort, and on subsequent attempts, nothing will happen.
https://jsfiddle.net/nuklehed/vwmerdcu/
Thanks!