From: erickson Date: Wed, 30 Sep 2009 14:31:59 +0000 (+0000) Subject: fleshing circ rules on circ object in copy details API call X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=833ebe420b08dda3e5a48e0b8c99db430f3fff73;p=contrib%2FConifer.git fleshing circ rules on circ object in copy details API call git-svn-id: svn://svn.open-ils.org/ILS/trunk@14220 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm index 9d42b4409d..64ee91f7af 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm @@ -848,7 +848,14 @@ sub copy_details { { target_copy => $copy_id }, { flesh => 1, - flesh_fields => {circ => ['checkin_workstation']}, + flesh_fields => { + circ => [ + 'checkin_workstation', + 'duration_rule', + 'max_fine_rule', + 'recuring_fine_rule' + ] + }, order_by => { circ => 'xact_start desc' }, limit => 1 }