* Fixed group share searching for members of multiple group. Issue #11808. * Fixed group share searching, continued. Avoid searching for empty group list in getItemSharedWithUser(). Broke tests in previous commit, #12030. * Simler check for group count. * Fix for https://github.com/owncloud/core/issues/24783 , described there * Now it's #24272, 24783 was a duplicate. Previous change was also not very good. Now we don't create ZIP with a single file inside.
This commit is contained in:
parent
7f3bfeffe2
commit
825d1c105d
|
@ -629,7 +629,7 @@
|
||||||
_onClickDownloadSelected: function(event) {
|
_onClickDownloadSelected: function(event) {
|
||||||
var files;
|
var files;
|
||||||
var dir = this.getCurrentDirectory();
|
var dir = this.getCurrentDirectory();
|
||||||
if (this.isAllSelected()) {
|
if (this.isAllSelected() && this.getSelectedFiles().length > 1) {
|
||||||
files = OC.basename(dir);
|
files = OC.basename(dir);
|
||||||
dir = OC.dirname(dir) || '/';
|
dir = OC.dirname(dir) || '/';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue