diff --git a/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqFilter.java b/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqFilter.java index 5caec92..0bbda3b 100644 --- a/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqFilter.java +++ b/src/main/java/dev/struchkov/haiti/filter/jooq/CriteriaJooqFilter.java @@ -196,9 +196,7 @@ public class CriteriaJooqFilter { // } // } // } - final SelectConditionStep where = from.where(conditions); - setSort(where); - return where; + return from.where(conditions); } private SelectSeekStepN setSort(SelectConditionStep where) {