Please Log in to join the conversation.
$query = 'SELECT *'
. "\n FROM " . $_CB_database->NameQuote( '#__groupjive_users' )
. "\n ORDER BY ( CASE WHEN ( " . $_CB_database->NameQuote( 'status' ) . " = 0 ) THEN 1 WHEN ( " . $_CB_database->NameQuote( 'status' ) . " >= 1 ) THEN 2 ELSE 3 END ) ASC, " . $_CB_database->NameQuote( 'status' ) . " DESC, " . $_CB_database->NameQuote( 'date' ) . " DESC";
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.