Bugzilla – Attachment 118030 Details for
Bug 27907
Add support for circulation status 2 ( on order )
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27907: Add support for circulation status 2 ( on order )
Bug-27907-Add-support-for-circulation-status-2--on.patch (text/plain), 959 bytes, created by
Kyle M Hall (khall)
on 2021-03-10 15:35:26 UTC
(
hide
)
Description:
Bug 27907: Add support for circulation status 2 ( on order )
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-03-10 15:35:26 UTC
Size:
959 bytes
patch
obsolete
>From 071352b86391c1513a09eed79e25e3a4055aadd5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 10 Mar 2021 10:33:28 -0500 >Subject: [PATCH] Bug 27907: Add support for circulation status 2 ( on order ) > >In Koha, we represent on order items by giving those items a notforloan >value less then zero. We can use this to implement circ status 02 ( on >order ) in for SIP. >--- > C4/SIP/ILS/Item.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/C4/SIP/ILS/Item.pm b/C4/SIP/ILS/Item.pm >index f0b1794b0e..0226556d70 100644 >--- a/C4/SIP/ILS/Item.pm >+++ b/C4/SIP/ILS/Item.pm >@@ -281,6 +281,9 @@ sub sip_circulation_status { > elsif ( $self->{location} eq 'CART' ) { > return '09'; # waiting to be re-shelved > } >+ elsif ( $self->{notforloan} < 0 ) { >+ return '02'; # on order >+ } > else { > return '03'; # available > } # FIXME: 01-13 enumerated in spec. >-- >2.24.1 (Apple Git-126)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27907
:
118029
|
118030
|
119989
|
119990
|
122723
|
122724