Bugzilla – Attachment 150382 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.12 KB, created by
Kyle M Hall
on 2023-04-28 13:39:01 UTC
(
hide
)
Description:
Bug 31212: (follow-up) Remove unnessesary changes from Items.pm
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2023-04-28 13:39:01 UTC
Size:
1.12 KB
patch
obsolete
>From 625fad026e1b30a4ebe61ea7ea3f3eef83409b0b 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 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > 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