Fix lapsus in action log filter timestamp usage
This commit is contained in:
@@ -2,10 +2,11 @@ package rdbms
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/cortezaproject/corteza-server/pkg/dal"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/cortezaproject/corteza-server/pkg/dal"
|
||||
|
||||
automationType "github.com/cortezaproject/corteza-server/automation/types"
|
||||
composeType "github.com/cortezaproject/corteza-server/compose/types"
|
||||
"github.com/cortezaproject/corteza-server/federation/types"
|
||||
@@ -40,7 +41,7 @@ func DefaultFilters() (f *extendedFilters) {
|
||||
}
|
||||
|
||||
if f.ToTimestamp != nil {
|
||||
ee = append(ee, goqu.C("ts").Lte(f.FromTimestamp))
|
||||
ee = append(ee, goqu.C("ts").Lte(f.ToTimestamp))
|
||||
}
|
||||
|
||||
if f.Limit == 0 || f.Limit > MaxLimit {
|
||||
|
||||
Reference in New Issue
Block a user