Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release-19.04.0' of https://github.com/centreon/centreon
Browse files Browse the repository at this point in the history
…into release-19.04.0
  • Loading branch information
lpinsivy committed Apr 24, 2019
2 parents 0fdd181 + 3feba0c commit bc03da7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
18 changes: 17 additions & 1 deletion www/front_src/src/components/navigation/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@
bottom: -50px;
right: -50px;
left: 0;
z-index: -1;
}
}
}
Expand Down Expand Up @@ -313,6 +314,18 @@
}
}

@media screen and(max-height: 768px) {
li.menu-item:last-child > ul.collapsed-items{
bottom: 0;
top: auto !important;
}
li.menu-item:nth-child(4) > ul.collapsed-items li.collapsed-item:first-child > ul.collapsed-level-items,
li.menu-item:last-child > ul.collapsed-items li.collapsed-item:first-child > ul.collapsed-level-items {
bottom: auto;
background-color: #fff;
}
}

.menu {
&-item {
&.to-hover:hover {
Expand Down Expand Up @@ -846,7 +859,10 @@ a {
@media screen and(max-width: 1500px) {
li.menu-item:last-child .collapsed-items li.collapsed-item:first-child > ul.collapsed-level-items {
max-height: 350px;
overflow-x: hidden;
overflow-y: auto;
overflow-x: hidden !important;
}
}
.sidebar.active .menu-item:nth-child(4).active + .menu-item > ul.list-unstyled .collapsed-item:first-child:hover > ul {
top: 0;
}
8 changes: 4 additions & 4 deletions www/include/Administration/configChangelog/viewLogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ function searchUserName($username)
$logQuery = "SELECT SQL_CALC_FOUND_ROWS object_id, object_type, object_name, "
. "action_log_date, action_type, log_contact_id, action_log_id "
. "FROM log_action";
$query = $logQuery;

$valuesToBind = [];
if (!empty($searchO) || !empty($searchU) || $otype != 0) {
$logQuery .= ' WHERE ';
$hasMultipleSubRequest = false;

$valuesToBind = [];
if (!empty($searchO)) {
$logQuery .= "object_name LIKE :object_name ";
$valuesToBind[':object_name'] = "%$searchO%";
$valuesToBind[':object_name'] = "%" . $searchO . "%";
$hasMultipleSubRequest = true;
}
if (!empty($searchU)) {
Expand Down Expand Up @@ -218,7 +218,7 @@ function searchUserName($username)

$rows = 0;

include("./include/common/checkPagination.php");
include "./include/common/checkPagination.php";

$elemArray = array();
if ($prepareSelect->execute()) {
Expand Down

0 comments on commit bc03da7

Please sign in to comment.