- changed status to closed
Allow filtering of teacher quals by codeGroup
Add the codeGroup as property G to teacherQuals in DSLookups
ie
lkpCommands.Add("teacherQuals",
"SELECT codeCode C, codeDescription N, codeGroup G FROM TRTeacherQual ORDER BY codeSeq");
Check that this field is propagated to the client by using Fiddler to look at the return data from
api/lookups/collection/core
Comments (2)
-
reporter -
reporter @jeremy_kells
Great thanks for this; may be worth spending a little time to look at the lookup subsystem from end to end:
starting with the DSLookups in the data layer;
then look at the data from the endpoint api/lookups/collection/core which returns them to the client.
In the typescript, in client side code, there's
the filter
lookup
, which enables a code to be displayed as its corresponding value;the service
Lookups
, makes lookups available in codethe component
lookup-selector
, which is just a wrapper around a select list, populated by a named lookup table.Also, have alook at SchoolItem.cshtml, where you'll see how lookup-selector is used, and also lookup filter, and the related filter
vocab
which translates context specific terminology e.g. District/State/Province - Log in to comment
feat(DSLookups): Allow filtering of teacher quals by codeGroup
Add the codeGroup as property G to teacherQuals in DSLookups
Closes
#402→ <<cset 3b0564a24066>>