-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimise CSV export by saving columns (#2762)
* optimise CSV export by saving columns save column build and update build after an Instance is saved. The previous optimisation technique saved the maximum number for each repeat group. This resulted in extra columns for submissions with less repeats than the maximum * suppress lint warning protected-access * refactor code * update export registe after for replacement * create default ordered columns when registering xform repeats * fix lint warning inconsistent-return-statements * fix lint warning no-else-return * wait for record to be persisted before calling async task * update doc strings * rename symbols * rename symbol * increase queryset chunk_size * add support for merged select multiples in export columns register * refactor code * refactor code * refactor code * suppress lint warning * refactor code * rename symbol
- Loading branch information
1 parent
df12f7e
commit f911be9
Showing
16 changed files
with
882 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.