Skip to content
Snippets Groups Projects
Verified Commit 69aaa5a0 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Moved `caosdb_default_person.js` reference resolver to `core`.

parent c2433355
Branches
Tags
1 merge request!69MAINT: Rename default person reference resolver
Pipeline #21047 failed
...@@ -311,7 +311,7 @@ var resolve_references = new function () { ...@@ -311,7 +311,7 @@ var resolve_references = new function () {
* resolved as a string and returns a `reference_info` object with * resolved as a string and returns a `reference_info` object with
* the resolved custom reference as a `text` property. * the resolved custom reference as a `text` property.
* *
* See caosdb-webui/src/ext/js/caosdb_default_person_reference_resolver.js * See caosdb-webui/src/core/js/reference_resolver/caosdb_default_person.js
* for an example. * for an example.
* *
* TODO refactor to be configurable. @async @param {string} id - the id of * TODO refactor to be configurable. @async @param {string} id - the id of
......
...@@ -32,6 +32,6 @@ the basic structure of the module should look like ...@@ -32,6 +32,6 @@ the basic structure of the module should look like
} }
An example is located in An example is located in
``caosdb-webui/src/ext/js/caosdb_default_person_reference_resolver.js``. It ``caosdb-webui/src/core/js/reference_resolver/caosdb_default_person.js``. It
resolves any reference to a ``Person`` Record to the value of its ``firstname`` resolves any reference to a ``Person`` Record to the value of its ``firstname``
and ``lastname`` properties separated by a space and is active by default. and ``lastname`` properties separated by a space and is active by default.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment