mirror of
https://github.com/flarum/framework.git
synced 2025-03-29 02:35:14 +08:00

Add an `onFollowing` param to GlobalSearchState This ensures that it will be taken into account by IndexPage's `refreshParams` call, preventing the following page from being shown if the user: 1. goes to following 2. goes to any other page not inheriting IndexPage 3. goes to 'all discussions' Ref https://github.com/flarum/core/issues/2516 for a full explanation.