From d103206b2e3b29006599b430cff6523c34c4a037 Mon Sep 17 00:00:00 2001 From: "a. bellenir" Date: Thu, 24 May 2018 11:44:28 -0400 Subject: [PATCH] LP#1743801: Item Status List View Display Issues Age Protection was missing '.name' field. Loan Duration and Fine Levels are numeric: 1, 2, or 3. Added an Angular filter to show the desired string from numeric index. Conflicts: Open-ILS/src/templates/staff/cat/item/t_list.tt2 Signed-off-by: a. bellenir Signed-off-by: Kathy Lussier Signed-off-by: Jason Stephenson --- Open-ILS/src/templates/staff/cat/item/t_list.tt2 | 13 ++++++++----- Open-ILS/web/js/ui/default/staff/circ/services/item.js | 1 + 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 index bab8dd9b9d..956101e25e 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 @@ -77,7 +77,7 @@ - + @@ -104,8 +104,10 @@ - - + + @@ -113,7 +115,9 @@ - + @@ -129,7 +133,6 @@ -
diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/item.js b/Open-ILS/web/js/ui/default/staff/circ/services/item.js index a39b539b65..7c01ba54a6 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/item.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/item.js @@ -927,3 +927,4 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog return service; }]) +.filter('string_pick', function() { return function(i){ return arguments[i] || ''; }; }) -- 2.11.0