alethes/meteor-pages — pull request #90 by timothyarmes (2014-11-17 15:42:21+00:00)
Title: Bug fixes and comment

This pull request includes the following changes:

1) I've commented parts of the code so that I could understand it. It makes sense to leave these in so that other developers can understand how the code works more easily

2) I've fixed the hanging bug when auth returns false (https://github.com/alethes/meteor-pages/issues/89)

3) IMPORTANT: I've fixed the bug which stopped separate instances/connections from having separate filter settings. This was nasty and was caused by two separate bugs:

a) several instance variables were actually declared incorrectly and were therefore shared between instances of the Pages object on the server. It appears that there has been an incorrect attempt to fix this by adding @name to the settings name, but this wasn't done consistantly

b) the global filter setting was being set at the same time as the per-connection setting, so a new connection would use the filter settings set by the last user.