Project

General

Profile

User story #11725

Updated by François ARMAND over 6 years ago

In directives, we have a "priority" field that allows to choose what directive must be chosen for a non-multi instance technique.  

 That field is a select with choices: [0,1,2,3...,10] 

 And 0 is the most prioritary, ie the one directive that get chosen. Appart from some computer scientist using cons list all day, this is strange.  

 We need to change that to something more understandable. I propose:  

 <pre> 
 Priority:  

 [ default ] 
  --------- 
 | highest lowest    | 
 | +4 -4        | 
 | +3 -3        | 
 | +2 -2        | 
 | +1 -1        | 
 | default | 
 | -1 +1        | 
 | -2 +2        | 
 | -3 +3        | 
 | -4 +4        | 
 | lowest    highest | 
  --------- 
 </pre> 

 Of course, in the backend and database, nothing change (ie we still map toward integers from 0 to 10, most prioriterary = 0)

Back