Filter before sort

This commit is contained in:
Biarity 2018-02-09 09:39:35 +10:00
parent cd3ca59d4d
commit aa6a836cfb

View File

@ -56,12 +56,12 @@ namespace Sieve.Services
if (model == null) if (model == null)
return result; return result;
// Sort
result = ApplySorting(model, result, dataForCustomMethods);
// Filter // Filter
result = ApplyFiltering(model, result, dataForCustomMethods); result = ApplyFiltering(model, result, dataForCustomMethods);
// Sort
result = ApplySorting(model, result, dataForCustomMethods);
// Paginate // Paginate
result = ApplyPagination(model, result); result = ApplyPagination(model, result);