[Koha-patches] [PATCH] Rotating Collections Fixes

Galen Charlton gmcharlt at gmail.com
Wed Jan 27 15:26:15 CET 2010


Hi,

On Wed, Jan 27, 2010 at 9:06 AM, Kyle M Hall <kyle.m.hall at gmail.com> 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
gmcharlt at gmail.com



More information about the Koha-patches mailing list