Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-03-16 13:04:08 +01:00
commit 9ebd1260d0
3 changed files with 18 additions and 0 deletions

View File

@ -73,6 +73,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;
}
}
?>