From: erickson Date: Thu, 17 Sep 2009 15:34:59 +0000 (+0000) Subject: flesh checkin_workstation on copy detail retrieve. changed reltyp for workstation... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dc4968945b03ecd873fc0954ffe8b16dadcf18e0;p=contrib%2FConifer.git flesh checkin_workstation on copy detail retrieve. changed reltyp for workstation and checkin_worksation to has_a git-svn-id: svn://svn.open-ils.org/ILS/trunk@14038 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 8e76924c7c..c98b440571 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -2100,8 +2100,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - - + + diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm index e9867b1dd4..c04724f64a 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm @@ -756,7 +756,12 @@ sub copy_details { my $circ = $e->search_action_circulation( [ { target_copy => $copy_id }, - { order_by => { circ => 'xact_start desc' }, limit => 1 } + { + flesh => 1, + flesh_fields => {circ => ['checkin_workstation']}, + order_by => { circ => 'xact_start desc' }, + limit => 1 + } ] )->[0];