From: Bill Erickson Date: Thu, 3 Aug 2017 15:43:56 +0000 (-0400) Subject: LP#1705524 Grid value filter defaults to null X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6cf766a634e123f0b89eece2a0096a7b6d01fb7a;p=working%2FEvergreen.git LP#1705524 Grid value filter defaults to null Avoid use of Perl undef in JS. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/web/js/ui/default/staff/services/grid.js b/Open-ILS/web/js/ui/default/staff/services/grid.js index 27344c0256..1811941977 100644 --- a/Open-ILS/web/js/ui/default/staff/services/grid.js +++ b/Open-ILS/web/js/ui/default/staff/services/grid.js @@ -1940,7 +1940,7 @@ angular.module('egGridMod', var list = path.split('.'); for (var part in path) { if (obj[path]) obj = obj[path] - else return undef; + else return null; } return obj; }