From 8cd0ef77eeeb2e674f25d44f424b92669edbec6c 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' loan duration and fine levels are numeric: 1, 2, or 3. added an angular filter to show the desired string from numeric index. Signed-off-by: a. bellenir Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/cat/item/t_list.tt2 | 10 +++++++--- Open-ILS/web/js/ui/default/staff/circ/services/item.js | 1 + 2 files changed, 8 insertions(+), 3 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 a7de8ecca6..7a874307c9 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 @@ -80,7 +80,7 @@ - + @@ -108,7 +108,9 @@ - + @@ -116,7 +118,9 @@ - + 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 b1285af922..47ad8c2d30 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 @@ -952,3 +952,4 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog return service; }]) +.filter('string_pick', function() { return function(i){ return arguments[i] || ''; }; }) -- 2.11.0