[Koha-bugs] [Bug 31212] Datelastseen should be a datetime

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 20 23:25:04 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31212

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #142282|0                           |1
        is obsolete|                            |

--- Comment #13 from David Nind <david at davidnind.com> ---
Created attachment 142286
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142286&action=edit
Bug 31212: Change datelastseen from date to datetime field

This patch changes the datelastseen field to a datetime field for better time
accuracy.

It also fixes the interface in order to display datelastseen as a datetime
field.

To test:
1. Apply patch
2. Search the catalogue and select a biblio with at least one item. Confirm in
the holdings table that every entry in the "Last Seen" column is in date-time
format.
3. Navigate to "Items" in for that same biblio and check the item "History"
section to have "Last Seen" in the correct format
4. Click "Edit" then "Edit Items" and confirm that the table has date-time
format for the "Date Last Seen" Column entries
5. Edit one of the items to have lost status, then navigate to the Reports
section, find "Items Lost", and search for the item with the barcode. Confirm
the proper date-time format in the result.
6. Navigate to Tools, then Inventory, run inventory and confirm that the "Date
Last Seen" column entries are in proper format

Signed-off-by: Ann Flournoy <aflournoy at cityofkeller.com>

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list