Skip to content
  • Hugh Davenport's avatar
    Remove duplicate users when showing online users · f44a5159
    Hugh Davenport authored
    
    
    Happens when all the users institutions have selected at most
    Institution only for displaying online users. If a user was in
    more than one institution as another user, then the user was displayed
    twice (or multiple times)
    
    This patch adds a DISTINCT condition to the select statement, which only
    displays the users once
    
    Bug #794368
    
    Change-Id: I106072cf2063d889fc6451ff57ee1d2dd94ebb67
    Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
    f44a5159