add string agg to dojo and fix syntax error in reporter
authorLlewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Thu, 25 May 2023 18:54:13 +0000 (14:54 -0400)
committerLlewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Thu, 25 May 2023 18:54:13 +0000 (14:54 -0400)
Open-ILS/web/js/ui/default/staff/reporter/services/template.js
Open-ILS/web/reports/xul/transforms.js
build/i18n/po/reports.js/reports.js.pot

index 4c6cfa3..adc6dca 100644 (file)
@@ -164,7 +164,7 @@ function($uibModal , $q , egCore , egConfirmDialog , egAlertDialog) {
             },
             
             string_agg : {
-                datatype : [ OILS_RPT_DTYPE_NOT_BOOL ],
+                datatype :  OILS_RPT_DTYPE_NOT_BOOL,
                 label : egCore.strings.TRANSFORMS_STRING_AGG,
                 aggregate : true
             },         
index 96b909d..7bcbda9 100644 (file)
@@ -74,6 +74,11 @@ var OILS_RPT_TRANSFORMS = {
                label : rpt_strings.TRANSFORMS_MAX
        },
 
+    string_agg : {
+        datatype :  OILS_RPT_DTYPE_NOT_BOOL,
+        label : rpt_strings.TRANSFORMS_STRING_AGG,
+        aggregate : true
+    }, 
        /* string transforms ------------------------- */
 
        substring : {
index 77cee92..56253ca 100644 (file)
@@ -216,6 +216,10 @@ msgstr ""
 msgid "Max"
 msgstr ""
 
+#: reports.js:TFORMS_LABEL_STRING_AGG reports.js:TRANSFORMS_STRING_AGG
+msgid "String Aggregate"
+msgstr ""
+
 #: reports.js:TFORMS_LABEL_LOWER reports.js:TRANSFORMS_LOWER
 msgid "Lower case"
 msgstr ""