Merge branch 'QA_4_3' into QA_4_4

This commit is contained in:
Marc Delisle 2015-03-16 07:59:52 -04:00
commit 31472e0cf0
3 changed files with 18 additions and 0 deletions

View File

@ -66,6 +66,7 @@ explanation
+ rfe #1441 Add regexp match when using AllowArbitraryServer
4.3.13.0 (not yet released)
- bug #4803 "Show hidden items" is sometimes hidden
4.3.12.0 (2015-03-14)
- bug #4746 Right-aligned columns have left-aligned header

View File

@ -741,6 +741,13 @@ class PMA_NavigationTree
$keySeparatorLength
)
);
if ($new_child instanceof Node_Database
&& $child->getHiddenCount() > 0
) {
$new_child->setHiddenCount($child->getHiddenCount());
}
$new_child->real_name = $child->real_name;
$new_child->icon = $child->icon;
$new_child->links = $child->links;

View File

@ -648,6 +648,16 @@ class Node_Database extends Node
{
$this->_hiddenCount = $count;
}
/**
* Returns the number of hidden items in this database
*
* @return int hidden item count
*/
public function getHiddenCount()
{
return $this->_hiddenCount;
}
}
?>