mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
remove the filter for just things i create
This commit is contained in:
parent
e4073d0de0
commit
fe8f56654b
1 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ Meteor.publish('userList', function() {
|
||||||
|
|
||||||
Meteor.publish("storeInfo", function() {
|
Meteor.publish("storeInfo", function() {
|
||||||
try {
|
try {
|
||||||
return Stores.find({ owner: this.userId });
|
return Stores.find({});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(" ERROR pulling store data: " + error);
|
console.log(" ERROR pulling store data: " + error);
|
||||||
}
|
}
|
||||||
|
|
@ -29,7 +29,7 @@ Meteor.publish("storeInfo", function() {
|
||||||
|
|
||||||
Meteor.publish("myProducts", function() {
|
Meteor.publish("myProducts", function() {
|
||||||
try {
|
try {
|
||||||
return Products.find({ prodOwner: this.userId });
|
return Products.find({});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(" ERROR pulling product data: " + error);
|
console.log(" ERROR pulling product data: " + error);
|
||||||
}
|
}
|
||||||
|
|
@ -37,7 +37,7 @@ Meteor.publish("myProducts", function() {
|
||||||
|
|
||||||
Meteor.publish("myCategories", function() {
|
Meteor.publish("myCategories", function() {
|
||||||
try {
|
try {
|
||||||
return Categories.find({ categoryOwner: this.userId });
|
return Categories.find({});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(" ERROR pulling category data: " + error);
|
console.log(" ERROR pulling category data: " + error);
|
||||||
}
|
}
|
||||||
|
|
@ -45,7 +45,7 @@ Meteor.publish("myCategories", function() {
|
||||||
|
|
||||||
Meteor.publish("myLocations", function() {
|
Meteor.publish("myLocations", function() {
|
||||||
try {
|
try {
|
||||||
return Locations.find({ owner: this.userId });
|
return Locations.find({});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(" ERROR pulling location data: " + error);
|
console.log(" ERROR pulling location data: " + error);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue