Set List of products in alphabetical order

This commit is contained in:
Brian McGonagill 2024-08-18 09:57:56 -05:00
parent d2f4ecf7ff
commit 9fdb7e4b7d

View file

@ -28,7 +28,7 @@ Template.modalLinkProducts.onRendered(function() {
Template.modalLinkProducts.helpers({
products: function() {
return Products.find({});
return Products.find({}, {sort: { prodName:1 }});
}
});