Skip to content
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

[stable27] fix(files): Fix legacy files list sorting #39919

Merged
merged 1 commit into from Aug 19, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Aug 16, 2023

Summary

The sorting was not saved since files2vue changes in Nextcloud 27, as a new API endpoint was introduced and the old one was dropped without adjusting the legacy file list to use it.

Checklist

@susnux susnux requested review from skjnldsv, a team, artonge and Pytal and removed request for a team August 16, 2023 18:14
@susnux
Copy link
Contributor Author

susnux commented Aug 16, 2023

/backport to stable27

@susnux
Copy link
Contributor Author

susnux commented Aug 16, 2023

@skjnldsv after f2v this is not required on master, but we need this for stable27.

@susnux susnux force-pushed the fix/legacy-files-list-sorting branch from a1699a3 to 40dec98 Compare August 16, 2023 21:12
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait for #39808 please 🙏
That way you can also use the cypress selectors

https://github.com/nextcloud/server/blob/feat/f2v/files/cypress/e2e/files.cy.ts

@susnux
Copy link
Contributor Author

susnux commented Aug 17, 2023

Let's wait for #39808 please 🙏 That way you can also use the cypress selectors

@skjnldsv maybe I should just submit to stable27 directly as it is not needed on master after that PR anymore? :)

@susnux
Copy link
Contributor Author

susnux commented Aug 18, 2023

Changed the base to stable27, as this is no longer needed for master (thanks to f2v :) ).

Sorry for the noise Github assigned everyone for a short moment...

@susnux susnux changed the title fix(files): Fix legacy files list sorting [stable27] fix(files): Fix legacy files list sorting Aug 18, 2023
@susnux susnux added this to the Nextcloud 27.1.0 milestone Aug 18, 2023
@susnux susnux force-pushed the fix/legacy-files-list-sorting branch from e79509a to 5a20f0f Compare August 19, 2023 12:47
The sorting was not saved since files2vue changes in Nextcloud 27, as a new API endpoint
was introduced and the old one was dropped without adjusting the legacy file list to use it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/legacy-files-list-sorting branch from 5a20f0f to cb5c172 Compare August 19, 2023 13:08
@susnux susnux merged commit a922283 into stable27 Aug 19, 2023
38 checks passed
@susnux susnux deleted the fix/legacy-files-list-sorting branch August 19, 2023 14:22
@backportbot-nextcloud
Copy link

The backport to stable27 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable27
git pull origin stable27

# Create the new backport branch
git checkout -b fix/foo-stable27

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable27

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@skjnldsv skjnldsv mentioned this pull request Aug 24, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: NC 27 sort by modifed not saving.
4 participants