Skip to content

Commit 8d72087

Browse files
authored
Merge pull request #8 from angelacevans/master
add sortable key to p2p connection type
2 parents 5192dbc + 3128f11 commit 8d72087

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

includes/functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ function impa_employee_connection_types() {
3232
p2p_register_connection_type( array(
3333
'name' => 'agents_to_listings',
3434
'from' => 'employee',
35-
'to' => 'listing'
35+
'to' => 'listing',
36+
'sortable' => 'any'
3637
) );
3738
}
3839

0 commit comments

Comments
 (0)