Hi,

On Wed, Jan 27, 2010 at 9:06 AM, Kyle M Hall <[email protected]> wrote:
> This patch does the following:
>  * Fixes the typos in updatedatabase.pl

But nothing fixing the wrong with for colBranchcode - please fix and resubmit.

> diff --git a/circ/returns.pl b/circ/returns.pl
> index 1ed378b..da2b574 100755
> --- a/circ/returns.pl
> +++ b/circ/returns.pl
> @@ -549,5 +549,16 @@ $template->param(
>     overduecharges => $overduecharges,
>  );
>
> +my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') );
> +if ( $itemnumber ) {
> +    my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( 
> $itemnumber );
> +    if ( ! ( $holdingBranch eq $collectionBranch ) ) {
> +        $template->param(
> +          collectionItemNeedsTransferred => 1,
> +          collectionBranch => GetBranchName($collectionBranch),
> +        );
> +    }
> +}
> +

Have you tested what would happen if an item in a rotating collection
would fill a hold request?

Regards,

Galen
-- 
Galen Charlton
[email protected]
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to