fleshing circ rules on circ object in copy details API call
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Sep 2009 14:31:59 +0000 (14:31 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Sep 2009 14:31:59 +0000 (14:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14220 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ.pm

index 9d42b44..64ee91f 100644 (file)
@@ -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 
             }