-
Notifications
You must be signed in to change notification settings - Fork 189
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
Folders are collapsed on page reload #1040
Comments
Can confirm and I don't think it's intended. diff --git a/lib/Db/Folder.php b/lib/Db/Folder.php
index d452bb7d4..6f208309b 100644
--- a/lib/Db/Folder.php
+++ b/lib/Db/Folder.php
@@ -167,6 +167,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable
[
'id',
'name',
+ 'opened',
'feeds'
]
); It probably changed in 8abddea with the switch to news/lib/Controller/FolderController.php Line 65 in 8abddea
|
It seems like earlier versions didn't serialize the folder because there is barely any data in there. I'd say that is the right fix @anoymouserver |
Fixed - opened state of folders is not restored (#1040) - Argument 3 passed to OCA\News\Db\ItemMapper::makeSelectQuery() must be of the type bool, array given (#1044) - Argument 2 passed to OCA\News\Db\ItemMapper::findAllNewFeed() must be of the type int, string given (#1049) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Fixed - opened state of folders is not restored (#1040) - Argument 3 passed to OCA\News\Db\ItemMapper::makeSelectQuery() must be of the type bool, array given (#1044) - Argument 2 passed to OCA\News\Db\ItemMapper::findAllNewFeed() must be of the type int, string given (#1049) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Fixed - opened state of folders is not restored (nextcloud#1040) - Argument 3 passed to OCA\News\Db\ItemMapper::makeSelectQuery() must be of the type bool, array given (nextcloud#1044) - Argument 2 passed to OCA\News\Db\ItemMapper::findAllNewFeed() must be of the type int, string given (nextcloud#1049) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Fixed - opened state of folders is not restored (nextcloud#1040) - Argument 3 passed to OCA\News\Db\ItemMapper::makeSelectQuery() must be of the type bool, array given (nextcloud#1044) - Argument 2 passed to OCA\News\Db\ItemMapper::findAllNewFeed() must be of the type int, string given (nextcloud#1049) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Fixed - opened state of folders is not restored (nextcloud#1040) - Argument 3 passed to OCA\News\Db\ItemMapper::makeSelectQuery() must be of the type bool, array given (nextcloud#1044) - Argument 2 passed to OCA\News\Db\ItemMapper::findAllNewFeed() must be of the type int, string given (nextcloud#1049) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de> Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Fixed - opened state of folders is not restored (nextcloud#1040) - Argument 3 passed to OCA\News\Db\ItemMapper::makeSelectQuery() must be of the type bool, array given (nextcloud#1044) - Argument 2 passed to OCA\News\Db\ItemMapper::findAllNewFeed() must be of the type int, string given (nextcloud#1049) Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
IMPORTANT
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
Explain the Problem
What problem did you encounter?
When the news app is (re)loaded all folders are collapsed.
I'm not sure if this behaviour is intended, but I couldn't find anything in commit messages or the changelog.
Steps to Reproduce
Explain what you did to encounter the issue
System Information
The text was updated successfully, but these errors were encountered: