Skip to content
Extraits de code Groupes Projets
Valider fc8ae5f1 rédigé par Benaka Moorthi's avatar Benaka Moorthi
Parcourir les fichiers

Refs #4041, change filter_limit, filter_sort_column and filter_sort_order to...

Refs #4041, change filter_limit, filter_sort_column and filter_sort_order to be client side parameters of HtmlTable visualization only so its no longer necessary to disable queued/generic filters for graphs.
parent 78723a8d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -318,9 +318,6 @@ class ViewDataTable
'filter_excludelowpop_value',
'filter_pattern',
'filter_column',
'filter_limit',
'filter_sort_column',
'filter_sort_order',
);
if ($this->visualizationClass) {
......
......@@ -87,6 +87,9 @@ class HtmlTable extends DataTableVisualization
static public $clientSideParameters = array(
'search_recursive',
'filter_limit',
'filter_sort_column',
'filter_sort_order',
);
static public $clientSideProperties = array(
......
......@@ -46,13 +46,6 @@ class JqplotGraph extends Graph
*/
public function __construct($view)
{
// Graphs require the full dataset, so no filters
$this->request_parameters_to_modify['disable_generic_filters'] = true;
// the queued filters will be manually applied later. This is to ensure that filtering using search
// will be done on the table before the labels are enhanced (see ReplaceColumnNames)
$this->request_parameters_to_modify['disable_queued_filters'] = true;
// do not sort if sorted column was initially "label" or eg. it would make "Visits by Server time" not pretty
if ($view->filter_sort_column != 'label') {
$columns = $view->columns_to_display;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter