Bugzilla – Attachment 148939 Details for
Bug 31212
Datelastseen should be a datetime
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31212: (follow-up) Remove unnessesary changes from Items.pm
Bug-31212-follow-up-Remove-unnessesary-changes-fro.patch (text/plain), 1.06 KB, created by
Lucas Gass
on 2023-03-29 17:53:28 UTC
(
hide
)
Description:
Bug 31212: (follow-up) Remove unnessesary changes from Items.pm
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2023-03-29 17:53:28 UTC
Size:
1.06 KB
patch
obsolete
>From 7577464eb724128aa589b76132d8175769976871 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 29 Mar 2023 17:52:37 +0000 >Subject: [PATCH] Bug 31212: (follow-up) Remove unnessesary changes from > Items.pm > >--- > C4/Items.pm | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 4f1f12d1fd..b1ac879876 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -403,7 +403,6 @@ The last optional parameter allows for passing skip_record_index through to the > > sub ModDateLastSeen { > my ( $itemnumber, $leave_item_lost, $params ) = @_; >- my $today = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 0 }); > > my $item = Koha::Items->find($itemnumber); > $item->datelastseen(dt_from_string); >@@ -588,7 +587,6 @@ sub GetItemsForInventory { > } > > if ($datelastseen) { >- $datelastseen = output_pref({ str => $datelastseen, dateformat => 'iso', dateonly => 0 }); > push @where_strings, '(datelastseen < ? OR datelastseen IS NULL)'; > push @bind_params, $datelastseen; > } >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31212
:
138053
|
139510
|
142262
|
142263
|
142264
|
142282
|
142283
|
142284
|
142286
|
142287
|
142288
|
143595
|
146369
|
146370
|
146371
|
146372
|
147664
|
147665
|
147666
|
147667
|
148939
|
150378
|
150379
|
150380
|
150381
|
150382
|
150383
|
151189
|
151190
|
151194