squeegee Posted July 4, 2007 Report Posted July 4, 2007 When you are sorting on a column and two or more values are the same, the function sortSecondary is used. Unfortunately, this function appears to return different values every time it runs, because the "sorted" list will change order on every GUI update for those rows for which the sorted column values are equal. Now, if there are only 2 or 3 rows where this occurs, it's only mildly annoying. But if you're running lots of torrents, and there are lots of rows for which the sorted column values are equal, especially when you can't see all the rows, it then becomes majorly annoying.For myself, I just used this simple fix (which only works if you leave the name of the torrent in the first column):In stable.js:change two instances of this.secIndex to 0so that it always does a secondary sort on the first column (name of torrent, if you don't drag it to a different column)dxSTable.prototype.sortSecondary=function(x,y){var m=this.getValue(x.e,this.secIndex);var n=this.getValue(y.e,this.secIndex);todxSTable.prototype.sortSecondary=function(x,y){var m=this.getValue(x.e,0);var n=this.getValue(y.e,0);
Ultima Posted July 5, 2007 Report Posted July 5, 2007 Heh, I actually bugged Directrix about this a long time ago, but was too lazy to try and figure out a fix for it myself. I haven't tested your change, but if it works... good job! ;D
funchords Posted July 8, 2007 Report Posted July 8, 2007 Offtopic: Are updates to WebUI automatically rolled into the new Betas/Releases, or do I have to periodically check somewhere?
Ultima Posted July 9, 2007 Report Posted July 9, 2007 webui.zip has always been separate, and it'll most likely remain as such. If Directrix updates anything and releases it to the public, he'll announce it on #utorrent-webui and/or the forums. Until then, patience is key
funchords Posted July 9, 2007 Report Posted July 9, 2007 Thanks again (you're really educational, today!)
Ultima Posted July 9, 2007 Report Posted July 9, 2007 lol I'm actually surprised at myself with how patient I've been today in answering questions and stuff xD
Recommended Posts
Archived
This topic is now archived and is closed to further replies.