This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/unit/controllers
Ghassan Maslamani 84b0a6414d
FIX: double selecting replies (#17086)
When selecting a post and its replies using the "select +replies" button, the action would push all ids, without checking if some were already selected. 

This change add a filter to remove ids that are already selected.

This fixes https://meta.discourse.org/t/selecting-posts-replies-miscounts-the-number-of-posts/229242

Co-authored-by: @ZogStriP
2022-06-17 18:32:57 +02:00
..
admin-customize-themes-show-test.js FIX: Tests in admin/tests were not running (#12391) 2021-03-17 13:02:12 -04:00
admin-customize-themes-test.js FIX: Tests in admin/tests were not running (#12391) 2021-03-17 13:02:12 -04:00
admin-user-badges-test.js DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
avatar-selector-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
create-account-test.js DEV: Minor cleanup of create-account tests (#14989) 2021-11-24 16:43:25 +01:00
history-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
preferences-account-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
preferences-profile-test.js DEV: Fix a userFields computed property override (#14988) 2021-11-17 15:02:15 +01:00
preferences-second-factor-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
reorder-categories-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
topic-test.js FIX: double selecting replies (#17086) 2022-06-17 18:32:57 +02:00
user-notifications-test.js DEV: Unflak-ify tests and make them more robust (#16659) 2022-05-06 11:53:23 +08:00