webstaff: display floating group correctly in item status
authorGalen Charlton <gmc@esilibrary.com>
Thu, 21 Jan 2016 22:20:43 +0000 (17:20 -0500)
committerKathy Lussier <klussier@masslnc.org>
Tue, 2 Feb 2016 19:58:53 +0000 (14:58 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>

Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js

index bb7370a..7d1a676 100644 (file)
 
   <div class="flex-row">
     <div class="flex-cell">[% l('Floating') %]</div>
-    <div class="flex-cell well">{{copy.floating()}}</div>
+    <div class="flex-cell well">{{copy.floating().name()}}</div>
 
     <div class="flex-cell">[% l('Circulate') %]</div>
     <div class="flex-cell well">{{copy.circulate()}}</div>
index b3ba37b..837b5b3 100644 (file)
@@ -59,7 +59,7 @@ function(egCore) {
     service.flesh = {   
         flesh : 3, 
         flesh_fields : {
-            acp : ['call_number','location','status','location'],
+            acp : ['call_number','location','status','location','floating'],
             acn : ['record','prefix','suffix'],
             bre : ['simple_record','creator','editor']
         },
@@ -302,7 +302,7 @@ function($scope , $q , $location , $routeParams , $timeout , $window , egCore ,
 
             // make boolean for auto-magic true/false display
             angular.forEach(
-                ['ref','opac_visible','holdable','floating','circulate'],
+                ['ref','opac_visible','holdable','circulate'],
                 function(field) { copy[field](Boolean(copy[field]() == 't')) }
             );