mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Set List of products in alphabetical order
This commit is contained in:
parent
d2f4ecf7ff
commit
9fdb7e4b7d
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ Template.modalLinkProducts.onRendered(function() {
|
||||||
|
|
||||||
Template.modalLinkProducts.helpers({
|
Template.modalLinkProducts.helpers({
|
||||||
products: function() {
|
products: function() {
|
||||||
return Products.find({});
|
return Products.find({}, {sort: { prodName:1 }});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue