Ask Your Question

Default worksheet "sort order" in Notebook

asked 2011-11-04 14:19:18 -0500

Mike Witt gravatar image

updated 2011-11-04 14:20:55 -0500

Using the notebook interface, when you're looking at a list of worksheets, you can apparently sort them in different ways by clicking on the heading at the top of a column (I guess this is a pretty standard way to do it).

It appears that, by default, the worksheets are sorted by the last edit date. I would like to change the default behaviour to sort by the name of the worksheet instead. I'm particularly interested in making this change WRT published worksheets on my server. Is there any way to do this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2011-11-12 07:28:06 -0500

Jason Grout gravatar image

If you look in the notebook source, in $SAGE_ROOT/devel/sagenb-main/sagenb/notebook/, search for "last_edited". It should bring you to line 1593 or so. Change 'last_edited' to whatever you want the default sort order to be. The possibilities are given in the sort_worksheet function in (last function in the file) as 'last_edited', 'owner', 'rating', or 'name'

edit flag offensive delete link more


We should make a ticket for this with your remark.

William Stein gravatar imageWilliam Stein ( 2011-11-12 07:55:59 -0500 )edit

OK, thanks Jason!

Mike Witt gravatar imageMike Witt ( 2011-11-15 04:35:50 -0500 )edit

answered 2011-11-12 03:48:05 -0500

William Stein gravatar image

No, this is not implemented... yet. It's a good idea for a feature. I don't remember anybody suggesting it. The feature would be something you configure through the settings link.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-04 14:19:18 -0500

Seen: 114 times

Last updated: Nov 12 '11