This commit is contained in:
2018-12-05 23:28:42 +00:00
parent bb1cac4014
commit 1f92f2fe22
6 changed files with 11 additions and 5 deletions

View File

@@ -7,5 +7,6 @@ namespace AyaNova.Biz
public const string Integer = "int"; public const string Integer = "int";
public const string Bool = "bool"; public const string Bool = "bool";
public const string Decimal = "decimal"; public const string Decimal = "decimal";
public const string Tags="tags";
} }
} }

View File

@@ -28,6 +28,7 @@ namespace AyaNova.Biz
AddField("active", "WidgetActive", AyDataType.Bool). AddField("active", "WidgetActive", AyDataType.Bool).
AddField("startdate", "WidgetStartDate", AyDataType.Date). AddField("startdate", "WidgetStartDate", AyDataType.Date).
AddField("count", "WidgetCount", AyDataType.Integer). AddField("count", "WidgetCount", AyDataType.Integer).
AddField("tags", "Tags", AyDataType.Tags).
AddField("enddate", "WidgetEndDate", AyDataType.Date); AddField("enddate", "WidgetEndDate", AyDataType.Date);
if (localizeToLocaleId != 0) if (localizeToLocaleId != 0)
@@ -304,7 +305,7 @@ namespace AyaNova.Biz
//Do the patching //Do the patching
objectPatch.ApplyTo(dbObj); objectPatch.ApplyTo(dbObj);
dbObj.Tags = TagUtil.NormalizeTags(dbObj.Tags); dbObj.Tags = TagUtil.NormalizeTags(dbObj.Tags);
ct.Entry(dbObj).OriginalValues["ConcurrencyToken"] = concurrencyToken; ct.Entry(dbObj).OriginalValues["ConcurrencyToken"] = concurrencyToken;

View File

@@ -1441,5 +1441,6 @@
"WidgetStartDate":"Startdatum", "WidgetStartDate":"Startdatum",
"WidgetEndDate":"Enddatum", "WidgetEndDate":"Enddatum",
"WidgetNotes":"Notizen", "WidgetNotes":"Notizen",
"RowsPerPage":"Zeilen pro Seite" "RowsPerPage":"Zeilen pro Seite",
"Tags":"Kategorien"
} }

View File

@@ -1440,7 +1440,8 @@
"WidgetStartDate":"Start", "WidgetStartDate":"Start",
"WidgetEndDate":"End", "WidgetEndDate":"End",
"WidgetNotes":"Notes", "WidgetNotes":"Notes",
"RowsPerPage":"Rows per page" "RowsPerPage":"Rows per page",
"Tags":"Tags"
} }

View File

@@ -1441,5 +1441,6 @@
"WidgetStartDate":"Fecha de comienzo", "WidgetStartDate":"Fecha de comienzo",
"WidgetEndDate":"Fecha de fin", "WidgetEndDate":"Fecha de fin",
"WidgetNotes":"Notas", "WidgetNotes":"Notas",
"RowsPerPage":"Filas por página" "RowsPerPage":"Filas por página",
"Tags":"Etiquetas"
} }

View File

@@ -1440,5 +1440,6 @@
"WidgetStartDate":"Date de début", "WidgetStartDate":"Date de début",
"WidgetEndDate":"Date de fin", "WidgetEndDate":"Date de fin",
"WidgetNotes":"Notes", "WidgetNotes":"Notes",
"RowsPerPage":"Lignes par page" "RowsPerPage":"Lignes par page",
"Tags":"Balises"
} }