From c399fa42ae7f9702bfab644cb3869f050b0ab713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Wed, 21 Feb 2024 16:11:15 +0100 Subject: [PATCH] v0.0.390 --- goextVersion.go | 4 ++-- sq/filter.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index df297d5..7a1556c 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.389" +const GoextVersion = "0.0.390" -const GoextVersionTimestamp = "2024-02-21T16:10:28+0100" +const GoextVersionTimestamp = "2024-02-21T16:11:15+0100" diff --git a/sq/filter.go b/sq/filter.go index d04af70..fa6b97c 100644 --- a/sq/filter.go +++ b/sq/filter.go @@ -36,10 +36,10 @@ func NewPaginateFilter(sql func(params PP) (filterClause string, joinClause stri } } -func NewSimplePaginateFilter(filterClause string, params PP, sort []FilterSort) PaginateFilter { +func NewSimplePaginateFilter(filterClause string, filterParams PP, sort []FilterSort) PaginateFilter { return genericPaginateFilter{ - sql: func(params PP) (filterClause string, joinClause string, joinTables []string) { - params.AddAll(params) + sql: func(params PP) (string, string, []string) { + params.AddAll(filterParams) return filterClause, "", nil }, sort: func() []FilterSort {