Skip to content

Conversation

@ajayaadhikari
Copy link
Contributor

While I was looking for fixme's in the code I found the following. In the file notebook/services/contents/handlers.py a fixme comment mentions that the sorting of the contents of a directory should be done in the front-end. I checked the code on the front-end where this is supposed to be done.

I found out that it is already done there. So the sorting is done redundantly on the front-end and the back-end. I removed the sorting from the back-end.

@Carreau Carreau added this to the 5.1 milestone Mar 13, 2017
@Carreau
Copy link
Member

Carreau commented Mar 13, 2017

I'm +1 I think we should wait post 5.0 though, just not to introduce a potential change so close to a release.

@minrk minrk merged commit 6ef2e42 into jupyter:master Apr 10, 2017
@minrk
Copy link
Member

minrk commented Apr 10, 2017

Thanks!

takluyver added a commit to takluyver/notebook that referenced this pull request May 13, 2017
PR jupytergh-2281 removed the sorting step from the server. This can result in
non-deterministic test failures, because the test checked against a
list.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants