Omit player performance with equation or text format from player statistics
This commit is contained in:
@@ -121,10 +121,16 @@ class SP_Meta_Box_Equation {
|
||||
'orderby' => 'menu_order',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'key' => 'sp_format',
|
||||
'value' => 'equation',
|
||||
'compare' => '!=',
|
||||
'value' => 'number',
|
||||
'compare' => 'NOT EXISTS',
|
||||
),
|
||||
array(
|
||||
'key' => 'sp_format',
|
||||
'value' => array( 'equation', 'text' ),
|
||||
'compare' => 'NOT IN',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -158,6 +158,12 @@ class SP_Meta_Box_Event_Performance {
|
||||
'orderby' => 'menu_order',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'key' => 'sp_format',
|
||||
'value' => 'number',
|
||||
'compare' => 'NOT EXISTS',
|
||||
),
|
||||
array(
|
||||
'key' => 'sp_format',
|
||||
'value' => 'equation',
|
||||
|
||||
Reference in New Issue
Block a user