Bugzilla – Attachment 29787 Details for
Bug 12592
Minor correction for C4::DelBiblio documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12592 - Minor correction for C4::DelBiblio documentation
Bug-12592---Minor-correction-for-C4DelBiblio-docum.patch (text/plain), 1.21 KB, created by
Petter Goksøyr Åsen
on 2014-07-17 09:20:04 UTC
(
hide
)
Description:
Bug 12592 - Minor correction for C4::DelBiblio documentation
Filename:
MIME Type:
Creator:
Petter Goksøyr Åsen
Created:
2014-07-17 09:20:04 UTC
Size:
1.21 KB
patch
obsolete
>From 4326692eaf71a6fdab337a765e7ded90b0fa3d1e Mon Sep 17 00:00:00 2001 >From: Petter Goksoyr Asen <boutrosboutrosboutros@gmail.com> >Date: Thu, 17 Jul 2014 11:18:10 +0200 >Subject: [PATCH] Bug 12592 - Minor correction for C4::DelBiblio documentation > >The function header says that DelBiblio checks to make sure there aren't >any issues on any of the items. What the code does, on the other hand, >is to check whether biblio has any items attached, and refuses to >delete biblio if it has any. >--- > C4/Biblio.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index a100500..f5903f3 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -410,9 +410,9 @@ sub ModBiblioframework { > my $error = &DelBiblio($biblionumber); > > Exported function (core API) for deleting a biblio in koha. >-Deletes biblio record from Zebra and Koha tables (biblio,biblioitems,items) >-Also backs it up to deleted* tables >-Checks to make sure there are not issues on any of the items >+Deletes biblio record from Zebra and Koha tables (biblio & biblioitems) >+Also backs it up to deleted* tables. >+Checks to make sure that the biblio has no items attached. > return: > C<$error> : undef unless an error occurs > >-- >1.8.3.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 12592
:
29787
|
29797