Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
return eg_context_due_date_filter;
}])
+// 'join' filter
+// TODO: perhaps this should live elsewhere
+.filter('join', function() {
+ return function(arr,sep) {
+ if (typeof arr == 'object' && arr.constructor == Array) {
+ return arr.join(sep || ',');
+ } else {
+ return '';
+ }
+ };
+})
+
/**
* Progress Dialog.
*