Refactor all duplicate code for checking of the is-a relation (direct/indirect)
Created by: Florian Spreckelsen
Since it is occasionally necessary to check whether Record A is a direct or indirect child of RecordTypeB, convenience functions for this could be added directly to the WebUI code.
Imported comments:
By Timm Fitschen on 2021-02-24T15:35:19.907Z
changed title from Add functions for direct and indirect parent check? to Refactor all duplicate code for checking of the is-a relation (direct/indirect)
DoD
Use the functions from AWI server profile in pangaea_export.js
and ice_core_preview.js
.
-
Merged and cleaned the AWI functions in WebUI -
Wrote tests -
refactored AWI code to use WebUI functions
Edited by Florian Spreckelsen