Fxied wrong request parameters in fast filter
This commit is contained in:
parent
0d7a90550f
commit
24dcf3aad8
@ -704,7 +704,7 @@ PMA_fastFilter.filter.prototype.request = function ()
|
||||
}
|
||||
var url = $('#pma_navigation').find('a.navigation_url').attr('href');
|
||||
var results = that.$this.find('li:visible:not(.fast_filter)').length;
|
||||
var params = that.$this.find('form').serialize() + "&results=" + results;
|
||||
var params = that.$this.find('form.fast_filter').serialize() + "&results=" + results;
|
||||
that.xhr = $.ajax({
|
||||
url: url,
|
||||
type: 'post',
|
||||
|
||||
@ -810,7 +810,7 @@ class PMA_NavigationTree {
|
||||
'pos2_value' => 0
|
||||
);
|
||||
$retval .= "<li class='fast_filter'>";
|
||||
$retval .= "<form class='ajax'>";
|
||||
$retval .= "<form class='ajax fast_filter'>";
|
||||
$retval .= PMA_getHiddenFields($url_params);
|
||||
$retval .= "<input class='searchClause' name='searchClause' value='" . __('filter tables by name') . "' />";
|
||||
$retval .= "<span title='" . __('Clear Fast Filter') . "'>X</span>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user