From 6b88131f80d9841aa6a0df35a4ad881f041beb22 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 6 Oct 2010 21:12:20 -0400 Subject: [PATCH] defer rotating collections Disabling rotating collections for 3.2.0 release; after more testing, candidate for 3.4 as well as backport into 3.2.1. Signed-off-by: Galen Charlton --- circ/returns.pl | 24 +++++++++++-------- .../prog/en/includes/tools-menu.inc | 2 ++ .../prog/en/modules/tools/tools-home.tmpl | 2 ++ 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index 261109962b..51ac9de563 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -554,16 +554,20 @@ $template->param( soundon => C4::Context->preference("SoundOn"), ); -my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') ); -if ( $itemnumber ) { - my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); - if ( ! ( $holdingBranch eq $collectionBranch ) ) { - $template->param( - collectionItemNeedsTransferred => 1, - collectionBranch => GetBranchName($collectionBranch), - ); - } -} +### Comment out rotating collections for now to allow it a little more time to bake +### for 3.4; in particular, must ensure that it doesn't fight with transfers required +### to fill hold requests +### -- Galen Charlton 2010-10-06 +#my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') ); +#if ( $itemnumber ) { +# my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); +# if ( ! ( $holdingBranch eq $collectionBranch ) ) { +# $template->param( +# collectionItemNeedsTransferred => 1, +# collectionBranch => GetBranchName($collectionBranch), +# ); +# } +#} # actually print the page! output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index e926358542..bc7c7e775e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -59,9 +59,11 @@
  • Label creator
  • Quick spine label creator
  • +
  • Rotating collections
  • +-->
  • Stage MARC for import
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl index d0810211d6..6b11e2fe4b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl @@ -123,10 +123,12 @@
    Enter a barcode to generate a printable spine label. For use with dedicated label printers
    +
    Rotating collections
    Manage Rotating Collections
    +-->
    Stage MARC records for import
    -- 2.39.5