Fix ajax call and sorter field