LP#1772062 - set "<HACK:KLUDGE:NULL>" values to "null" user/csharp/lp1772062_remove_hack_kludge_null_from_cat_templates
authorChris Sharp <csharp@georgialibraries.org>
Tue, 25 Sep 2018 18:44:07 +0000 (14:44 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 25 Sep 2018 18:44:07 +0000 (14:44 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index 04b1963..6b346c3 100644 (file)
@@ -351,7 +351,7 @@ function(egCore , $q) {
                         var field_name = curr_field["field"];
 
                         if ( field_name == null ) { continue; }
-                        if ( curr_field["value"] == "<HACK:KLUDGE:NULL>" ) { continue; }
+                        if ( curr_field["value"] == "<HACK:KLUDGE:NULL>" ) { curr_field["value"] = "null"; }
 
                         // floating changed from a boolean to an integer at one point;
                         // take this opportunity to remove the boolean from any old templates