meteor/meteor — pull request #698 by awwx (2013-02-18 20:14:56+00:00)
Title: Preserve tag filter state on reload in "todos" example.

When the "todos" example app reloads following a code change, the
current state of the tag filter is preserved by session
migration... but is then lost following the reload in two places: on
startup the tag filter state is unilaterally set to `null`, and is set
to `null` again when initializing the list_id.

Reproduction: open the "todos" app, select a tag filter such as "Physics", make a trivial code change, observe that the tag filter selection has been lost.

This commit avoids the unilateral initialization, and only sets the
tag filter to `null` if the selected list has changed.