Hbm 101 105 hiearchial select
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:
- make fresh
- view a research group node and note the main affiliation and faculty/unit
- edit the research group node and set a new affiliation (use the 2nd level of hierarchy)
- from front page search view check that the affiliation output using the old fields is correct
Edited by Simo Hellsten