[timepoint] Add Default Site to Dropdown#9408
Conversation
maximemulder
left a comment
There was a problem hiding this comment.
I just discovered php/libraries/CenterID.php and I do not like it (I do like the new type pattern when it is well done though).
PR works, just look at the comment and address it (or not) ,and I'll approve the PR !
|
What is "a candidate's default site"? |
|
@driusan according to the code it seems to be registration project... I dont know why this one would be preferred. I would have went with default to last site used? but both are error prone IMO |
|
Coming back to this after I do an investigation to see if it is still needed as an override |
|
Discussion summary: The default site should be kept, but based on the last registered visit's site instead of the candidate's registration centerID |
Brief summary of changes
In the create timepoint module, adds a candidate's site as the site of the most recent visit to the 'Site' dropdown
Testing instructions (if applicable)
CCNA Override