Changed Appreciation to Jr High Summer; Fixed sorting of internships such that changes get properly sorted; Added a proper date on news & notices on the home page using the page's update timestamp.
This commit is contained in:
@@ -7,11 +7,12 @@ Tracker.autorun(function() {
|
||||
});
|
||||
|
||||
Template.InternshipJobs.onCreated(function() {
|
||||
this.internships = Meteor.collections.Internship.find({}, {sort: {name: 1}});
|
||||
//this.internships = Meteor.collections.Internship.find({}, {sort: {name: 1}});
|
||||
});
|
||||
Template.InternshipJobs.helpers({
|
||||
internships: function() {
|
||||
return Template.instance().internships;
|
||||
//return Template.instance().internships;
|
||||
return Meteor.collections.Internship.find({}, {sort: {name: 1}});
|
||||
}
|
||||
});
|
||||
Template.InternshipJobs.events({
|
||||
|
||||
Reference in New Issue
Block a user