Bugzilla – Attachment 77385 Details for
Bug 21011
Data inconsistencies - items.holdingbranch | items.homebranch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21011: (follow-up) Fix pod, fix missing homebranch condition, change mode to executable
Bug-21011-follow-up-Fix-pod-fix-missing-homebranch.patch (text/plain), 1.58 KB, created by
Katrin Fischer
on 2018-08-01 16:23:14 UTC
(
hide
)
Description:
Bug 21011: (follow-up) Fix pod, fix missing homebranch condition, change mode to executable
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-08-01 16:23:14 UTC
Size:
1.58 KB
patch
obsolete
>From bbcd1254888b62a474e539db06ea46fac333897d Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 27 Jun 2018 20:27:09 +0000 >Subject: [PATCH] Bug 21011: (follow-up) Fix pod, fix missing homebranch > condition, change mode to executable > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > misc/maintenance/search_for_data_inconsistencies.pl | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > mode change 100644 => 100755 misc/maintenance/search_for_data_inconsistencies.pl > >diff --git a/misc/maintenance/search_for_data_inconsistencies.pl b/misc/maintenance/search_for_data_inconsistencies.pl >old mode 100644 >new mode 100755 >index 5105f6c..2c8861e >--- a/misc/maintenance/search_for_data_inconsistencies.pl >+++ b/misc/maintenance/search_for_data_inconsistencies.pl >@@ -25,7 +25,7 @@ use Koha::Items; > while ( my $item = $items->next ) { > if ( not $item->homebranch and not $item->holdingbranch ) { > new_item(sprintf "Item with itemnumber=%s does not have homebranch and holdingbranch defined", $item->itemnumber); >- } elsif ( $item->homebranch ) { >+ } elsif ( not $item->homebranch ) { > new_item(sprintf "Item with itemnumber=%s does not have homebranch defined", $item->itemnumber); > } else { > new_item(sprintf "Item with itemnumber=%s does not have holdingbranch defined", $item->itemnumber); >@@ -62,6 +62,4 @@ Catch data inconsistencies in Koha database > > * Items with not defined homebranch and/or holdingbranch > >-=back >- > =cut >-- >2.1.4
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 21011
:
76533
|
76536
|
76537
|
77384
| 77385