|
|
|
@@ -581,15 +581,13 @@ app.model.Appointment = function( appData, attendees, attendeeProfiles ) |
|
|
|
}
|
|
|
|
|
|
|
|
attendees.sort( compareLastUpdateDt );
|
|
|
|
|
|
|
|
for ( var ai = 0; ai < attendees.length; ai++ )
|
|
|
|
{
|
|
|
|
if ( "waiting" === attendees[ ai ].status )
|
|
|
|
{
|
|
|
|
waitingList.push( this.getAttendeeByProfileId( attendees[ ai ].profile_id ));
|
|
|
|
waitingList.push( attendees[ ai ] );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return waitingList;
|
|
|
|
};
|
|
|
|
|
|
|
|
|