From: a. bellenir Date: Thu, 24 May 2018 15:44:28 +0000 (-0400) Subject: LP#1743801: item status list view display issues X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=86e438d0641a09179031326135552af08539b34b;p=working%2FEvergreen.git 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 --- 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 09a073dda3..c003b5b9aa 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 963c0c92c4..4fb7e0d16a 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 @@ -940,3 +940,4 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog return service; }]) +.filter('string_pick', function() { return function(i){ return arguments[i] || ''; }; })