From 8f5cff434b4c502d90db430b4717d49ebd37bd21 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 20 Sep 2006 14:23:17 +0000 Subject: [PATCH] forcing connected cstore editor since sane attempts failed git-svn-id: svn://svn.open-ils.org/ILS/trunk@6157 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/SIP/Item.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm index b931cc4af1..185459c7f0 100644 --- a/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm +++ b/Open-ILS/src/perlmods/OpenILS/SIP/Item.pm @@ -227,7 +227,11 @@ sub hold_queue_position { sub due_date { my $self = shift; - my $e = OpenILS::SIP->editor(); + + # this should force correct circ fetching + require OpenILS::Utils::CStoreEditor; + my $e = OpenILS::Utils::CStoreEditor->new(xact => 1); + #my $e = OpenILS::SIP->editor(); my $circ = $e->search_action_circulation( { target_copy => $self->{copy}->id, checkin_time => undef } )->[0]; -- 2.11.0