diff --git a/plugins/hc-member-profiles/includes/class-bp-xprofile-field-type-works-deposits.php b/plugins/hc-member-profiles/includes/class-bp-xprofile-field-type-works-deposits.php index e3afbc4b4..1234e48c3 100755 --- a/plugins/hc-member-profiles/includes/class-bp-xprofile-field-type-works-deposits.php +++ b/plugins/hc-member-profiles/includes/class-bp-xprofile-field-type-works-deposits.php @@ -55,7 +55,7 @@ public static function display_filter( $field_value, $field_id = '' ) { } $api_endpoint = WORKS_URL . '/api/records'; - $query_string = $api_endpoint . "?q=metadata.creators.person_or_org.identifiers.identifier:$username&size=100"; + $query_string = $api_endpoint . "?q=metadata.creators.person_or_org.identifiers.identifier:$username&size=100&sort=published-desc"; $response = wp_remote_get( $query_string ); if ( is_wp_error( $response ) ) { trigger_error( 'In hc-member-profiles, error fetching works: ' . $response->get_error_message(), E_USER_WARNING );