GUI-1412
revised get_connection to allow passing values normally found in view