Code Duplication    Length = 8-8 lines in 2 locations

modules/search/class.jetpack-search.php 2 locations

@@ 1264-1271 (lines=8) @@
1261
1262
					break;
1263
1264
				case 'date':
1265
					$es_query_args['sort'][] = array(
1266
						'date' => array(
1267
							'order' => $args['order'],
1268
						),
1269
					);
1270
1271
					break;
1272
1273
				case 'ID':
1274
					$es_query_args['sort'][] = array(
@@ 1273-1280 (lines=8) @@
1270
1271
					break;
1272
1273
				case 'ID':
1274
					$es_query_args['sort'][] = array(
1275
						'id' => array(
1276
							'order' => $args['order'],
1277
						),
1278
					);
1279
1280
					break;
1281
1282
				case 'author':
1283
					$es_query_args['sort'][] = array(