Skip to content

Hbm 101 105 hiearchial select

Simo Hellsten requested to merge HBM-101-105-hiearchial-select into development

Adds Simple Hierarchial Select widget as user interface to set affiliations (main affiliation, unit/faculty). This is in order to prevent user errors while expanding on hierarchy levels and multiplicity in the submitted data.

NOTE: this works against current dev, but presave hook needs to be rewritten as HBM 101 and 105 are merged

NOTE2: as the hook will be rewritten current hook does not handle terms with no parents nor is the widget forcing to select the highest level in hierarchy (either could have be done, but this is intended to be an intermediate step only)

Testing:

  1. make fresh
  2. view a research group node and note the main affiliation and faculty/unit
  3. edit the research group node and set a new affiliation (use the 2nd level of hierarchy)
  4. from front page search view check that the affiliation output using the old fields is correct
Edited by Simo Hellsten

Merge request reports