Bugzilla – Attachment 104706 Details for
Bug 23081
Make items.issues and deleteditems.issues default to 0 instead of null
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23081: [19.11.x] Set items.issues to 0 if not provided (AddItem)
Bug-23081-1911x-Set-itemsissues-to-0-if-not-provid.patch (text/plain), 873 bytes, created by
Jonathan Druart
on 2020-05-11 14:05:42 UTC
(
hide
)
Description:
Bug 23081: [19.11.x] Set items.issues to 0 if not provided (AddItem)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-11 14:05:42 UTC
Size:
873 bytes
patch
obsolete
>From d4f842a39858cf052d8c3dadb9660a97fcd7ccab Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 11 May 2020 16:04:27 +0200 >Subject: [PATCH] Bug 23081: [19.11.x] Set items.issues to 0 if not provided > (AddItem) > >In master it has been replaced by Koha::Object->store and we deal with >the default value. >--- > C4/Items.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 2e83b0674b..5d0495b8b2 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -1618,7 +1618,7 @@ sub _koha_new_item { > $item->{'location'}, > $item->{'permanent_location'}, > $item->{'onloan'}, >- $item->{'issues'}, >+ $item->{'issues'}//0, > $item->{'renewals'}, > $item->{'reserves'}, > $item->{'items.cn_source'}, >-- >2.20.1
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 23081
:
103601
|
103605
|
103606
|
103608
|
103725
|
103726
|
103741
|
103742
|
103743
|
103744
| 104706