Bug 30621

Summary: Author should be its own column on opac-readingrecord.tt
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: OPACAssignee: Lucas Gass (lukeg) <lucas>
Status: CLOSED FIXED QA Contact: Aleisha Amohia <aleisha>
Severity: enhancement    
Priority: P5 - low CC: aleisha, andrew.auld, caroline.cyr-la-rose, matt.blenkinsop, sbcornell
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact: Caroline Cyr La Rose
Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/690 Text to go in the release notes:
Version(s) released in:
23.05.00
Circulation function:
Attachments: Bug 30621: Add author column to opac-readingrecord.tt
Bug 30621: Add author column to opac-readingrecord.tt
Bug 30621: Add author column to opac-readingrecord.tt

Description Lucas Gass (lukeg) 2022-04-26 14:33:42 UTC
It would be handy if users could go to the reading history page and be able to sort their reading history by author. If author was in its own column, instead of in the 'Title' column, it would be easy to sort by author.
Comment 1 Sarah Cornell 2022-04-26 17:53:38 UTC
I've had two patrons ask for this in one day! It should be fairly straightforward, right?  The Checked Out tab on the summary table is already split into title and author.
Comment 2 Lucas Gass (lukeg) 2023-03-31 16:55:35 UTC
Created attachment 149047 [details] [review]
Bug 30621: Add author column to opac-readingrecord.tt

To test:
1. Have a patron with some checkout history.
2. Go to that patrons OPAC reading history page, notice author is listed in the same column as title. You cannot sort by author.
3. Apply patch and look again.
4. Now there should be an author column that allows patrons to sort by it.
Comment 3 Lucas Gass (lukeg) 2023-03-31 16:56:45 UTC
Maybe it would be best to also add column configuration to this table at this time?
Comment 4 ByWater Sandboxes 2023-03-31 17:42:06 UTC
Created attachment 149049 [details] [review]
Bug 30621: Add author column to opac-readingrecord.tt

To test:
1. Have a patron with some checkout history.
2. Go to that patrons OPAC reading history page, notice author is listed in the same column as title. You cannot sort by author.
3. Apply patch and look again.
4. Now there should be an author column that allows patrons to sort by it.

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Comment 5 Andrew Auld 2023-03-31 17:42:44 UTC
Lovely!
Comment 6 Aleisha Amohia 2023-04-28 04:06:23 UTC
Created attachment 150354 [details] [review]
Bug 30621: Add author column to opac-readingrecord.tt

To test:
1. Have a patron with some checkout history.
2. Go to that patrons OPAC reading history page, notice author is listed in the same column as title. You cannot sort by author.
3. Apply patch and look again.
4. Now there should be an author column that allows patrons to sort by it.

Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Comment 7 Tomás Cohen Arazi (tcohen) 2023-05-09 14:47:46 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 8 Matt Blenkinsop 2023-05-15 12:20:30 UTC
Enhancement - not backporting to 22.11.x