fix pagination, filter to show only have children data on division

This commit is contained in:
dpurbosakti
2025-10-03 17:13:53 +07:00
parent 26357e88e9
commit bd6351e3a3
144 changed files with 759 additions and 845 deletions

No files matched your search

+3 -6
View File
@@ -24,8 +24,9 @@ type CreateDto struct {
type ReadListDto struct {
FilterDto
Includes string `json:"includes"`
Preloads []string `json:"-"`
Includes string `json:"includes"`
Preloads []string `json:"-"`
Pagination ecore.Pagination
}
type FilterDto struct {
@@ -34,10 +35,6 @@ type FilterDto struct {
Time *time.Time `json:"time"`
TypeCode erc.SoapiTypeCode `json:"typeCode"`
Value *string `json:"value"`
Page int `json:"page"`
PageSize int `json:"page_size"`
NoPagination int `json:"no_pagination"`
}
type ReadDetailDto struct {