Merge pull request 'develop' (#94) from develop into master
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

Reviewed-on: #94
This commit is contained in:
Simon Vieille 2022-02-07 14:35:05 +01:00
commit b4951b6cf1
4 changed files with 18 additions and 2 deletions

View file

@ -1,5 +1,11 @@
## [Unreleased] ## [Unreleased]
## 2.3.3
### Added
* hide the scrollbar when mouse is out (menu always displayed)
### Fixed
* fix SQL Exception InvalidFieldNameException (#93)
## 2.3.2 ## 2.3.2
### Fixed ### Fixed
- fix hidden menu - fix hidden menu

View file

@ -26,7 +26,7 @@ If you like this application and if you want to support the development:
* [Donate with liberapay](https://liberapay.com/deblan) * [Donate with liberapay](https://liberapay.com/deblan)
* [Leave a comment](https://apps.nextcloud.com/apps/side_menu#comments) * [Leave a comment](https://apps.nextcloud.com/apps/side_menu#comments)
]]></description> ]]></description>
<version>2.3.2</version> <version>2.3.3</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author> <author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
<namespace>SideMenu</namespace> <namespace>SideMenu</namespace>

View file

@ -247,6 +247,11 @@
.side-menu-always-displayed .side-menu-apps-list { .side-menu-always-displayed .side-menu-apps-list {
height: calc(100vh - 49px); height: calc(100vh - 49px);
top: 49px; top: 49px;
overflow: hidden;
}
.side-menu-always-displayed .side-menu-apps-list:hover {
overflow: auto;
} }
.side-menu-always-displayed #side-menu, .side-menu-always-displayed #side-menu,

View file

@ -26,7 +26,12 @@ class LangRepository
$qb = $this->db->getQueryBuilder(); $qb = $this->db->getQueryBuilder();
$qb->select($qb->createFunction('DISTINCT configvalue')) $qb->select($qb->createFunction('DISTINCT configvalue'))
->where('configkey="lang" and appid="core" and configvalue<>"en"') ->where('configkey=:configkey and appid=:appid and configvalue<>:configvalue')
->setParameters([
'configkey' => 'lang',
'appid' => 'core',
'configvalue' => 'en',
])
->from('preferences') ->from('preferences')
; ;