And when i will scroll my Topic-list, i will get data from Popular Topics. This is not good:) How can i isolate data beetwen two templates with diferent subscribtions, but one type of collections?
This can always happen (even if only momentarily) due to the way that the merge box works. The answer is to always use the same find query in the template helper that you used in your publication.
Hello @robfallows! Ty for reply!
Actualy i use template level subscribtions.
I build a simple example about my question. Look at the picture #PaintingTime#yeeeah
I have one (for example) Topic_main template, it consider Topic_list and Top_topic template Top_topic have subscribtion in onCreated block; Topic_list consider {{scroll-subscriber}} template, builded by my own.
In theory, these two templates isolated, in fact-no.
I cant specify Find query in this case, cause it will not solve the problem.
P.S. If i will scroll more, my subscriber will load more data, and everything will fall into place
This is kind of just the way Meteor works - by default, just puts all of the published documents into a collection on the client with the same name, and any filtering needs to be done again. But with pagination/skipping this doesn’t really work well.