Bug 32402 - "Modification date" missing from OPAC lists table
Summary: "Modification date" missing from OPAC lists table
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Lists (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial (vote)
Assignee: David Cook
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-05 05:33 UTC by David Cook
Modified: 2024-04-12 14:47 UTC (History)
7 users (show)

See Also:
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


Attachments
Bug 32402: Add "Modification date" to OPAC Lists table (2.42 KB, patch)
2022-12-05 05:48 UTC, David Cook
Details | Diff | Splinter Review
Bug 32402: Add "Modification date" to OPAC Lists table (2.47 KB, patch)
2022-12-06 20:26 UTC, David Nind
Details | Diff | Splinter Review
Bug 32402: Add "Modification date" to OPAC Lists table (2.53 KB, patch)
2022-12-21 07:39 UTC, Fridolin Somers
Details | Diff | Splinter Review
Bug 32402: Add "Modification date" to OPAC Lists table (2.59 KB, patch)
2023-06-02 03:35 UTC, David Cook
Details | Diff | Splinter Review
Bug 32402: Add "Modification date" to OPAC Lists table (2.59 KB, patch)
2023-06-02 03:42 UTC, David Cook
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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 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 2023-06-15 11:49:06 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 10 Martin Renvoize 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