|
|
@ -159,7 +159,8 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( |
|
|
|
{ |
|
|
|
{ |
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
offset: String(childrenListPagination.size * (childrenListPagination.page - 1)), |
|
|
|
offset: String(childrenListPagination.size * (childrenListPagination.page - 1)), |
|
|
|
where: childrenListPagination.query && `(${relatedTablePrimaryValueProp.value},like,${childrenListPagination.query})`, |
|
|
|
where: |
|
|
|
|
|
|
|
childrenListPagination.query && `(${relatedTablePrimaryValueProp.value},like,${childrenListPagination.query})`, |
|
|
|
} as any, |
|
|
|
} as any, |
|
|
|
) |
|
|
|
) |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -173,7 +174,8 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState( |
|
|
|
{ |
|
|
|
{ |
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
offset: String(childrenListPagination.size * (childrenListPagination.page - 1)), |
|
|
|
offset: String(childrenListPagination.size * (childrenListPagination.page - 1)), |
|
|
|
where: childrenListPagination.query && `(${relatedTablePrimaryValueProp.value},like,${childrenListPagination.query})`, |
|
|
|
where: |
|
|
|
|
|
|
|
childrenListPagination.query && `(${relatedTablePrimaryValueProp.value},like,${childrenListPagination.query})`, |
|
|
|
} as any, |
|
|
|
} as any, |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|