[Koha-patches] [PATCH] Tweak interactive dump to suppress huge fields (marc, marcxml).

Joe Atzberger joe.atzberger at liblime.com
Tue Oct 28 19:37:36 CET 2008


From: Joe Atzberger (siptest <atz4sip at arwen.metavore.com>

---
 C4/SIP/interactive_item_dump.pl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/C4/SIP/interactive_item_dump.pl b/C4/SIP/interactive_item_dump.pl
index a3408ef..2fa0db2 100755
--- a/C4/SIP/interactive_item_dump.pl
+++ b/C4/SIP/interactive_item_dump.pl
@@ -19,6 +19,9 @@ while (1) {
         print "No item ($in)";
         next;
     }
+    for (qw(marc marcxml)) {
+        $item->{$_} = 'suppressed...';
+    }
     my $queue = $item->hold_queue();
     print "Item ($in): ", Dumper($item);
     print "hold_queue: ", Dumper($queue);
-- 
1.5.5.GIT




More information about the Koha-patches mailing list