|
|
|
@ -159,7 +159,8 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
|
|
|
|
|
{ |
|
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
|
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, |
|
|
|
|
) |
|
|
|
|
} else { |
|
|
|
@ -173,7 +174,8 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
|
|
|
|
|
{ |
|
|
|
|
limit: String(childrenListPagination.size), |
|
|
|
|
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, |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|