mirror of
https://github.com/wekan/wekan.git
synced 2026-01-03 08:08:49 +01:00
My Cards page development
* rename `findCards()` to `myBoards()` * return model objects for Boards, Swimlanes, Lists, and Cards. Previously created a data structure with limited properties. * Sort the myBoards data structure according to the `sort` property * add a `swimlane()` method in the cards model
This commit is contained in:
parent
0497d38c1d
commit
5e68362352
4 changed files with 67 additions and 56 deletions
|
|
@ -56,7 +56,7 @@ Meteor.publish('mySwimlanes', function() {
|
|||
|
||||
return Swimlanes.find(
|
||||
{
|
||||
archived: false,
|
||||
// archived: false,
|
||||
_id: { $in: swimlanes },
|
||||
},
|
||||
{
|
||||
|
|
@ -88,7 +88,7 @@ Meteor.publish('myLists', function() {
|
|||
|
||||
return Lists.find(
|
||||
{
|
||||
archived: false,
|
||||
// archived: false,
|
||||
_id: { $in: lists },
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue