Code Duplication    Length = 3-3 lines in 2 locations

includes/class-sensei-analysis-overview-list-table.php 2 locations

@@ 163-165 (lines=3) @@
160
		);
161
162
        // Handle search
163
        if ( isset( $_GET['s'] ) && !empty( $_GET['s'] ) ) {
164
            $args['search'] = esc_html( $_GET['s'] );
165
        }
166
167
		switch ( $this->type ) {
168
			case 'courses':
@@ 223-225 (lines=3) @@
220
221
222
        // Handle search
223
        if ( isset( $_GET['s'] ) && !empty( $_GET['s'] ) ) {
224
            $args['search'] = esc_html( $_GET['s'] );
225
        }
226
227
228
		// Start the csv with the column headings