Skip to content

Commit

Permalink
Update camptix.php
Browse files Browse the repository at this point in the history
Remove search link now there is a ticket filter.
  • Loading branch information
pkevan authored Oct 8, 2024
1 parent c292ad0 commit 33951b1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions public_html/wp-content/plugins/camptix/camptix.php
Original file line number Diff line number Diff line change
Expand Up @@ -691,15 +691,7 @@ function manage_columns_attendee_action( $column, $post_id ) {
$ticket_id = intval( get_post_meta( $post_id, 'tix_ticket_id', true ) );
$ticket = get_post( $ticket_id );
if ( $ticket ) {
$attendees_url = get_admin_url( 0, '/edit.php?post_type=tix_attendee' );
$attendees_url = add_query_arg( 's', 'tix_ticket_id:' . intval( $ticket->ID ), $attendees_url );

// Don't drop the post_status query variable.
if ( get_query_var('post_status') ) {
$attendees_url = add_query_arg( 'post_status', get_query_var('post_status'), $attendees_url );
}

printf( '<a href="%s">%s</a>', esc_url( $attendees_url ), esc_html( $ticket->post_title ) );
echo esc_html( $ticket->post_title );
}
break;
case 'tix_email':
Expand Down

0 comments on commit 33951b1

Please sign in to comment.