-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jmrunge/schedules #48
Conversation
Signed-off-by: Juan Martin Runge <[email protected]>
Signed-off-by: Juan Martin Runge <[email protected]>
Signed-off-by: Juan Martin Runge <[email protected]>
Signed-off-by: Juan Martin Runge <[email protected]>
Signed-off-by: Juan Martin Runge <[email protected]>
if (!opts.ignore) | ||
self.removeSched.bind(self)(sched); | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we fetching all scheds from DB?
You have to use custom mongo queries over bb collections like in playout view.
Collection must use searchWrapper.
this.collection.fetch({
success: function() {
},
error: function(e) {
},
data: {
query: {criteria: {in_window: [start.valueOf(), end.valueOf()]}},
},
});
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Will do it and let you know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now is necessary to fetch all schedules because we dont have a tick on scheduler to refetch like mosto does. I was planning to do it on a next PR to keep this one smaller. Is this ok with you or should I add this feature now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok but add an issue for this feature, so we can remember it later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! #53
I dont understand very well, how it is working? @jmrunge can you explain it? |
@josx |
@jmrunge would be nice, at least for now, to put the datetime format "dd/mm/yyyy hh:mm:ss" in the prompt dialog |
Ooops, was sure it was! Checked and there wasnt! Will do it... 2014-03-13 11:06 GMT-03:00 Leo Vidarte [email protected]:
|
Prompt dialog fixed |
Signed-off-by: Juan Martin Runge <[email protected]>
Signed-off-by: Juan Martin Runge <[email protected]>
Signed-off-by: José Luis Di Biase <[email protected]>
Signed-off-by: José Luis Di Biase <[email protected]>
Replaces #19
Depends on inaes-tic/mbc-common#66