$cats = get_the_terms($post->ID, 'catalog');
if ($cats) {
$args = array(
'post_type' => array('project'),
'tax_query' => array(
array(
'taxonomy' => 'catalog',
'field' => 'ID',
'terms' => $cats,
'operator' => 'IN',
),
),
'posts_per_page' => -1,
'caller_get_posts' => 1,
'orderby' => 'date',
'order' => 'ASC',
);