Bug 32402

Summary: "Modification date" missing from OPAC lists table
Product: Koha Reporter: David Cook <dcook>
Component: ListsAssignee: David Cook <dcook>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: david, fridolin.somers, m.de.rooy, martin.renvoize, pedro.amorim, philip.orr, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact: Philip Orr
Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/864 Text to go in the release notes:
This enhancement adds the modification date column to the lists tables for the OPAC. This lets patrons know when the list was last updated.
Version(s) released in:
23.11.00,23.05.02
Circulation function:
Attachments: Bug 32402: Add "Modification date" to OPAC Lists table
Bug 32402: Add "Modification date" to OPAC Lists table
Bug 32402: Add "Modification date" to OPAC Lists table
Bug 32402: Add "Modification date" to OPAC Lists table
Bug 32402: Add "Modification date" to OPAC Lists table

Description David Cook 2022-12-05 05:33:32 UTC
I've had a library highlight that OPAC users may want to know when a List has been updated.

It's a very simple change to add it so I think it's a reasonable thing to do.
Comment 1 David Cook 2022-12-05 05:48:58 UTC
Created attachment 144426 [details] [review]
Bug 32402: Add "Modification date" to OPAC Lists table

This change adds a "Modification date" column to the
OPAC Lists table, so that you can see when a list was last modified.

Test plan:
1. Apply patch
2. Create a public list and a private list
3. Go to http://localhost:8080/cgi-bin/koha/opac-shelves.pl?op=list&public=1
4. Note that "Modification date" appears in the relevant date format
on both the "Your lists" and "Public lists" tabs
Comment 2 David Nind 2022-12-06 20:26:45 UTC
Created attachment 144459 [details] [review]
Bug 32402: Add "Modification date" to OPAC Lists table

This change adds a "Modification date" column to the
OPAC Lists table, so that you can see when a list was last modified.

Test plan:
1. Apply patch
2. Create a public list and a private list
3. Go to http://localhost:8080/cgi-bin/koha/opac-shelves.pl?op=list&public=1
4. Note that "Modification date" appears in the relevant date format
on both the "Your lists" and "Public lists" tabs

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 Fridolin Somers 2022-12-21 07:38:33 UTC
This table is not in admin/columns_settings.yml its OK
Comment 4 Fridolin Somers 2022-12-21 07:39:34 UTC
Created attachment 144764 [details] [review]
Bug 32402: Add "Modification date" to OPAC Lists table

This change adds a "Modification date" column to the
OPAC Lists table, so that you can see when a list was last modified.

Test plan:
1. Apply patch
2. Create a public list and a private list
3. Go to http://localhost:8080/cgi-bin/koha/opac-shelves.pl?op=list&public=1
4. Note that "Modification date" appears in the relevant date format
on both the "Your lists" and "Public lists" tabs

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Comment 5 Tomás Cohen Arazi (tcohen) 2023-04-06 12:58:26 UTC
Please rebase ASAP.
Comment 6 David Cook 2023-06-02 03:35:28 UTC
Created attachment 151963 [details] [review]
Bug 32402: Add "Modification date" to OPAC Lists table

This change adds a "Modification date" column to the
OPAC Lists table, so that you can see when a list was last modified.

Test plan:
1. Apply patch
2. Create a public list and a private list
3. Go to http://localhost:8080/cgi-bin/koha/opac-shelves.pl?op=list&public=1
4. Note that "Modification date" appears in the relevant date format
on both the "Your lists" and "Public lists" tabs

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Comment 7 David Cook 2023-06-02 03:42:04 UTC
Created attachment 151964 [details] [review]
Bug 32402: Add "Modification date" to OPAC Lists table

This change adds a "Modification date" column to the
OPAC Lists table, so that you can see when a list was last modified.

Test plan:
1. Apply patch
2. Create a public list and a private list
3. Go to http://localhost:8080/cgi-bin/koha/opac-shelves.pl?op=list&public=1
4. Note that "Modification date" appears in the relevant date format
on both the "Your lists" and "Public lists" tabs

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Comment 8 David Cook 2023-06-02 03:42:23 UTC
(In reply to Tomás Cohen Arazi from comment #5)
> Please rebase ASAP.

Took the liberty of moving it back to "Passed QA" as it was a fairly trivial rebase.
Comment 9 Tomás Cohen Arazi (tcohen) 2023-06-15 11:49:06 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 10 Martin Renvoize (ashimema) 2023-07-17 12:21:58 UTC
Thanks for all the hard work!

Pushed to 23.05.x for the next release
Comment 11 Pedro Amorim 2023-07-18 10:53:47 UTC
Enhancement, not backporting to 22.11.x