LCOGT/neoexchange

Default to LOOK proposal when scheduling LOOK targets

Opened this issue · 1 comments

Default to LOOK proposal when scheduling LOOK targets

To clarify, there's (at least) 2 solutions:

  1. A quick hack would be to pick the active Proposal with 'LOOK' in it if the Body.origin='O' either by re-ordering the proposal selection box in the scheduling form or by changing the default in the picker (forget whether that is supported in Django/HTML)
  2. The better more general solution would be to add the idea of a preferred Proposal for each User either by superclassing User or adding a boolean field into ProposalPermission and emitting the preferred proposal first when building the choices for the proposal selection box in the scheduling form. This would require a DB migration, albeit a small one.