forked from rero/rero-ils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
items: improve response time for csv export
The CSV export of the inventory list has an important waiting time. With this commit, we try to improve the response time. * Uses ciso8601 to parse date fields instead `format_date_filter`. * Adds new api endpoint for inventory list. * Uses streaming to process download csv file. * Uses bunch request to reduce elasticsearch calls. * Adds some fields in csv file. * Closes rero#1456. * Closes rero#1329. Co-Authored-by: Laurent Dubois <laurent.dubois@itld-solutions.be>
- Loading branch information
Showing
14 changed files
with
374 additions
and
184 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,3 +92,10 @@ class ItemNoteTypes: | |
CONDITION, | ||
PATRIMONIAL | ||
] | ||
|
||
INVENTORY_LIST_CATEGORY = [ | ||
GENERAL, | ||
STAFF, | ||
CHECKIN, | ||
CHECKOUT | ||
] |
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.