"search" bar that checks for all kinds of IDs, as well as exact maker names and level names #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, there are four namespaced categories of 9-digit ID:
We also have a table,
nso_course, which maintains a mapping of NSO level code -> imported OCW level code, andnso_user, which maintains a verified mapping (so long as theverifiedflag is checked) of OCW maker code to NSO maker code.Since there are no overlaps in these ID spaces, we should at the very least have a "generic" ID lookup, which can take any form of 9-digit ID and return the proper OCW record attached to it, whichever type it is.
The ORM seems to have a config for
nso_userbut notnso_course. Its columns areid,pid, andnso_id, all uint64s, where "pid" is an index into course_info.