We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9a159 commit 900773eCopy full SHA for 900773e
1 file changed
OpenFlow/src/public/Controllers.ts
@@ -2546,7 +2546,12 @@ module openflow {
2546
async handlefilter(e) {
2547
this.e = e;
2548
// console.log(e.keyCode);
2549
- var ids: string[] = this.model._acl.map(item => item._id);
+ var ids: string[];
2550
+ if (this.collection == "files") {
2551
+ ids = (this.model as any).metadata._acl.map(item => item._id);
2552
+ } else {
2553
+ ids = this.model._acl.map(item => item._id);
2554
+ }
2555
this.searchFilteredList = await this.api.Query("users",
2556
{
2557
$and: [
0 commit comments