Merge pull request #21641 from owncloud/fix_21639
Do not lower the sharee search
This commit is contained in:
commit
6ca24d53ea
|
@ -353,7 +353,7 @@ class Sharees {
|
|||
$this->limit = (int) $perPage;
|
||||
$this->offset = $perPage * ($page - 1);
|
||||
|
||||
return $this->searchSharees(strtolower($search), $itemType, $shareTypes, $page, $perPage);
|
||||
return $this->searchSharees($search, $itemType, $shareTypes, $page, $perPage);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1043,6 +1043,10 @@ class ShareesTest extends TestCase {
|
|||
[[], 'no', 'yes', true, '', null, $allTypes, 1, 200, false, true],
|
||||
[[], 'no', 'no', true, '', null, $allTypes, 1, 200, false, false],
|
||||
|
||||
// Test keep case for search
|
||||
[[
|
||||
'search' => 'foo@example.com/ownCloud',
|
||||
], '', 'yes', true, 'foo@example.com/ownCloud', null, $allTypes, 1, 200, false, true],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue