This commit is contained in:
2021-01-13 18:43:53 +00:00
parent 9a6889d859
commit 632ef88fc2

View File

@@ -5,15 +5,15 @@ using AyaNova.Biz;
namespace AyaNova.PickList namespace AyaNova.PickList
{ {
/* /*
/// <param name="params">The AyaType object type to select from</param> /// <param name="params">The AyaType object type to select from</param>
/// <param name="query">The query to filter the returned list by. Query text as provided will be case sensitively matched to all templated fields. /// <param name="query">The query to filter the returned list by. Query text as provided will be case sensitively matched to all templated fields.
/// Independantely of this, if an addition space separated string that begins with two consecutive periods is encountered that will be considered a separate match to the TAGS collection of each object /// Independantely of this, if an addition space separated string that begins with two consecutive periods is encountered that will be considered a separate match to the TAGS collection of each object
/// So a tag query might be entered as "..zon some" which would match all tags LIKE 'zon' and template fields LIKE 'some'</param> /// So a tag query might be entered as "..zon some" which would match all tags LIKE 'zon' and template fields LIKE 'some'</param>
/// <param name="inactive">Include inactive objects in the returned list </param> /// <param name="inactive">Include inactive objects in the returned list </param>
/// <param name="preIds">Return only specific items (for pre-selected items on forms) </param> /// <param name="preIds">Return only specific items (for pre-selected items on forms) </param>
/// <param name="variant">Some lists optionally take a variant string, e.g. User type "inside","outside" etc </param> /// <param name="variant">Some lists optionally take a variant string, e.g. User type "inside","outside" etc </param>
*/ */
public sealed class PickListParams public sealed class PickListParams
{ {
@@ -31,6 +31,15 @@ namespace AyaNova.PickList
[FromBody] [FromBody]
public string ListVariant { get; set; } public string ListVariant { get; set; }
public PickListParams()
{
AyaType = AyaType.NoType;
Query = string.Empty;
Inactive = false;
PreselectedIds = new List<long>();
ListVariant = string.Empty;
}
} }
} }