Auto-select a Determination and pre-fill textarea
On a new Determination for a Submission, auto-select an option where possible. The selection is based on higher-valued numeric option values making more sense than lower-valued numeric option values. E.g. the value "2" is chosen over "1" which is chosen over "". At this time the "Approved" Determination is associated with "2", therefore when "Approved" is available, "Approved" gets selected automatically.
Fixes ots/clients/ardc/hypha-tracker#255: Determination message field does not auto-populate with 'Approved' template text
Edited by Jesse Bickel