Store import<->document relationship (#4415)
* Store import<->document relationship * Update 20221112152649-import-document-relationship.js * Store importId on collection, UI tweaks on import screen
This commit is contained in:
@@ -51,13 +51,13 @@ router.post(
|
||||
authorize(user, "manage", team);
|
||||
|
||||
const [exports, total] = await Promise.all([
|
||||
await FileOperation.findAll({
|
||||
FileOperation.findAll({
|
||||
where,
|
||||
order: [[sort, direction]],
|
||||
offset: ctx.state.pagination.offset,
|
||||
limit: ctx.state.pagination.limit,
|
||||
}),
|
||||
await FileOperation.count({
|
||||
FileOperation.count({
|
||||
where,
|
||||
}),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user