Bug 28177 - Add date column and column configuration to uploads
Summary: Add date column and column configuration to uploads
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 28175
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-20 13:20 UTC by Owen Leonard
Modified: 2021-06-11 17:11 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 28177: Add date column and column configuration to uploads (3.60 KB, patch)
2021-05-10 11:51 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 28177: Add date column and column configuration to uploads (3.64 KB, patch)
2021-06-11 17:11 UTC, Salman Ali
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2021-04-20 13:20:35 UTC
I think it would be useful to add a date column to the table showing uploaded files. Adding column configuration at the same time will let us hide the column by default.
Comment 1 Owen Leonard 2021-05-10 11:51:01 UTC
Created attachment 120767 [details] [review]
Bug 28177: Add date column and column configuration to uploads

This patch adds a "Date added" column to the table showing uploaded
files. Column configuration is added to the table, and the date column
is hidden by default.

To test, apply the patch and restart all.

- Go to Tools -> Upload.
- If necessary, upload multiple files with the same category.
- Use the "Search uploads by category" form to find those uploads.
- In the table of uploads, confirm that table settings and other
  DataTable controls work correctly, including the option to show the
  "Date added" column.
- Go to Administration -> Table settings -> Tools -> upload.
- Change the settings for the uploads table.
- Return to Uploads and confirm that your changes are reflected in the
  display of the uploads table.
Comment 2 Lucas Gass 2021-05-10 17:34:34 UTC
This works great I just have one question. Do you think it would be handy to also include the time stamp along with the date? I don't use this tool a lot but it seems like it could be helpful if you were uploading many files on the same day.
Comment 3 Salman Ali 2021-06-11 17:11:53 UTC
Created attachment 121868 [details] [review]
Bug 28177: Add date column and column configuration to uploads

This patch adds a "Date added" column to the table showing uploaded
files. Column configuration is added to the table, and the date column
is hidden by default.

To test, apply the patch and restart all.

- Go to Tools -> Upload.
- If necessary, upload multiple files with the same category.
- Use the "Search uploads by category" form to find those uploads.
- In the table of uploads, confirm that table settings and other
  DataTable controls work correctly, including the option to show the
  "Date added" column.
- Go to Administration -> Table settings -> Tools -> upload.
- Change the settings for the uploads table.
- Return to Uploads and confirm that your changes are reflected in the
  display of the uploads table.

Signed-off-by: Salman Ali <salman@outaouais>