Skip to content

Commit

Permalink
include all rows in csv export (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
trembon authored Feb 19, 2024
1 parent e7943b1 commit 100c783
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions resources/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,17 +339,9 @@ $(function () {
});

$("body").on("click", ".export-btn", e => {
let page = currTable.getPage();
let pageSize = currTable.getPageSize();
currTable.setPageSize(true);
currTable.setPage(1);
currTable.download("csv", "export.csv");
currTable.setPageSize(pageSize);
currTable.setPage(page);
// currTable && currTable.download("csv", "data.csv");
currTable.download("csv", "export.csv", {}, "all");
});


$("body").on("click", ".library-organize-action", e => {
e.preventDefault();
if (state.settings.organize_options.create_folder_per_game === false &&
Expand Down

0 comments on commit 100c783

Please sign in to comment.