-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select only searched files #9925
Conversation
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #9925 +/- ##
============================================
- Coverage 52.1% 52.08% -0.02%
- Complexity 25910 25915 +5
============================================
Files 1642 1642
Lines 95721 95750 +29
Branches 1289 1290 +1
============================================
+ Hits 49872 49874 +2
- Misses 45849 45876 +27
|
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
@MorrisJobke Fixed :) |
apps/files/js/filelist.js
Outdated
this._selectionSummary.add(fileData); | ||
var fileRow = this.$fileList.find('[data-id=' + fileData.id + ']'); | ||
// do not select already selected ones | ||
console.log(fileRow, this._selectedFiles[fileData.id]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure that this should be in here 🤔 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damnit I searched for old debug!! 🙈
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected now 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
Awesome, thanks @skjnldsv. |
Hello, Is this fix only working with NC14 or should it work with NC13 as well? |
Simply replacing the file will most likely not work, since there have been other changes to it since NC 13.0.4. You could try to apply the patch from this PR manually, though. Although I would recommend to wait for NC14 or to ask for a backport. |
I wanted to mention that early on, just in case this issue exists with NC14 as well and would be discovered too late (when NC14 is released already). Anyway: I will wait until NC14 then. Thank you. |
this still doesn't work with latest stable 14.0.3, all files in direcrory are used and not only search results |
Fix #2075