mirror of
https://github.com/wekan/wekan.git
synced 2026-01-30 21:25:17 +01:00
Attachment Management at Admin Console
This commit is contained in:
parent
a064e03fc7
commit
b8d14abe0c
7 changed files with 249 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import Attachments from '/models/attachments';
|
||||
import { ObjectID } from 'bson';
|
||||
|
||||
Meteor.publish('attachmentsList', function() {
|
||||
Meteor.publish('attachmentsList', function(limit) {
|
||||
const ret = Attachments.find(
|
||||
{},
|
||||
{
|
||||
|
|
@ -11,11 +11,13 @@ Meteor.publish('attachmentsList', function() {
|
|||
size: 1,
|
||||
type: 1,
|
||||
meta: 1,
|
||||
path: 1,
|
||||
versions: 1,
|
||||
},
|
||||
sort: {
|
||||
name: 1,
|
||||
},
|
||||
limit: 250,
|
||||
limit: limit,
|
||||
},
|
||||
).cursor;
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue