[Koha] Due Date Field (AH) in SIP2 is empty

Colin Campbell colin.campbell at ptfs-europe.com
Wed Feb 3 01:11:29 NZDT 2010


On 02/02/10 11:42, vimal laxman wrote:
> Dear List,
>          i am working with SIP2 and most of the messages are working
> fine expect but the due date field AH returns zero  cna any one suggest
> me what could be the problem.an <http://problem.an> example of the check
> out message stream for your persual.
>
> 11YN20090629    01234820090629    012348AO||AA1888|ABMIC004|
>
> 121NNY20090629    013142AOCCL|AA1888|ABMIC004|AJThe 8051 Micro
> Controller-Architecture,Programming and Applications *|AH0|
>
> *thanks in advance.
> regards,
> vimal laxman p
>
>
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
You probably need to apply this oneline fix
> commit 20aeb3a14d8630f1930f7298c6f4ffb6e386422b
> Author: Colin Campbell <colin.campbell at ptfs-europe.com>
> Date:   Fri Oct 9 15:20:21 2009 +0100
>
>     Bug 3697 Return due date (SIP Field AH) in item info
>
>     Although the due date of an on loan item was being retrieved
>     the appropriate field in the Item object was not set
>     causing the due date not to be returned in the item
>     information response
>
> diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm
> index 2e02c63..020d14e 100644
> --- a/C4/SIP/ILS/Item.pm
> +++ b/C4/SIP/ILS/Item.pm
> @@ -103,6 +103,7 @@ sub new {
>         $item->{hold_queue} = [ sort priority_sort @$arrayref ];
>         $item->{hold_shelf}    = [( grep {   defined $_->{found}  and $_->{found} eq 'W' } @{$item->{hold_queue}} )];
>         $item->{pending_queue} = [( grep {(! defined $_->{found}) or  $_->{found} ne 'W' } @{$item->{hold_queue}} )];
> +    $item->{due_date} = $issue->{date_due};
>         $self = $item;
>         bless $self, $type;
>


-- 
Colin Campbell
Chief Software Engineer,
PTFS Europe Limited
Content Management and Library Solutions
+44 (0) 208 366 1295 (phone)
+44 (0) 7759 633626  (mobile)
colin.campbell at ptfs-europe.com
skype: colin_campbell2

http://www.ptfs-europe.com


More information about the Koha mailing list